From 5ff01d08a0e09311b9c40b7dc50bbada38bdcb58 Mon Sep 17 00:00:00 2001 From: Pratik Patel Date: Wed, 19 Sep 2012 13:21:31 -0700 Subject: [PATCH] coresight: move cp14.h to include/asm/hardware Move cp14.h to include/asm/hardware so that it can be used by code inside mach-msm as well as drivers/coresight. Change-Id: I3f5cd6e1768378ec26abcd1e7328977836dce60f Signed-off-by: Pratik Patel --- arch/arm/{mach-msm => include/asm/hardware}/cp14.h | 6 +++--- arch/arm/mach-msm/etm.c | 5 ++--- arch/arm/mach-msm/jtag.c | 5 ++--- 3 files changed, 7 insertions(+), 9 deletions(-) rename arch/arm/{mach-msm => include/asm/hardware}/cp14.h (99%) diff --git a/arch/arm/mach-msm/cp14.h b/arch/arm/include/asm/hardware/cp14.h similarity index 99% rename from arch/arm/mach-msm/cp14.h rename to arch/arm/include/asm/hardware/cp14.h index d6404120aaf..8acf0c74b13 100644 --- a/arch/arm/mach-msm/cp14.h +++ b/arch/arm/include/asm/hardware/cp14.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. +/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -10,8 +10,8 @@ * GNU General Public License for more details. */ -#ifndef _ARCH_ARM_MACH_MSM_CP14_H_ -#define _ARCH_ARM_MACH_MSM_CP14_H_ +#ifndef __ASM_HARDWARE_CP14_H +#define __ASM_HARDWARE_CP14_H #include diff --git a/arch/arm/mach-msm/etm.c b/arch/arm/mach-msm/etm.c index 6cceff23a21..ae427335139 100644 --- a/arch/arm/mach-msm/etm.c +++ b/arch/arm/mach-msm/etm.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved. +/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -24,8 +24,7 @@ #include #include - -#include "cp14.h" +#include #define LOG_BUF_LEN 32768 /* each slot is 4 bytes, 8kb total */ diff --git a/arch/arm/mach-msm/jtag.c b/arch/arm/mach-msm/jtag.c index 4f14b191b23..24e1c4192e2 100644 --- a/arch/arm/mach-msm/jtag.c +++ b/arch/arm/mach-msm/jtag.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012, Code Aurora Forum. All rights reserved. +/* Copyright (c) 2012, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -20,11 +20,10 @@ #include #include #include +#include #include #include -#include "cp14.h" - /* DBGv7 with baseline CP14 registers implemented */ #define ARM_DEBUG_ARCH_V7B (0x3) /* DBGv7 with all CP14 registers implemented */