]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[POWERPC] cell: Move cbe_regs.h to include/asm-powerpc/cell-regs.h
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 4 Oct 2007 05:40:42 +0000 (15:40 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Oct 2007 11:01:56 +0000 (21:01 +1000)
The new Cell EDAC driver needs that file, oprofile also does ugly
path tricks to get to it, it's time to move it to asm-powerpc. While
at it, rename it to be consistent with cell-pmu.h (and dashes look
nicer than underscores anyway).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
14 files changed:
arch/powerpc/oprofile/cell/pr_util.h
arch/powerpc/oprofile/op_model_cell.c
arch/powerpc/platforms/cell/cbe_cpufreq.c
arch/powerpc/platforms/cell/cbe_cpufreq_pervasive.c
arch/powerpc/platforms/cell/cbe_cpufreq_pmi.c
arch/powerpc/platforms/cell/cbe_regs.c
arch/powerpc/platforms/cell/cbe_thermal.c
arch/powerpc/platforms/cell/interrupt.c
arch/powerpc/platforms/cell/iommu.c
arch/powerpc/platforms/cell/pervasive.c
arch/powerpc/platforms/cell/pmu.c
arch/powerpc/platforms/cell/ras.c
arch/powerpc/platforms/cell/setup.c
include/asm-powerpc/cell-regs.h [moved from arch/powerpc/platforms/cell/cbe_regs.h with 100% similarity]

index e5704f00c8b4be2f4783a5ec7391b8a60be1853e..22e4e8d4eb2c706daa7ad3481e87e4cc10afaf2b 100644 (file)
 #include <linux/cpumask.h>
 #include <linux/oprofile.h>
 #include <asm/cell-pmu.h>
+#include <asm/cell-regs.h>
 #include <asm/spu.h>
 
-#include "../../platforms/cell/cbe_regs.h"
-
 /* Defines used for sync_start */
 #define SKIP_GENERIC_SYNC 0
 #define SYNC_START_ERROR -1
index d928b54f3a0fb9df3b03bc475b05d0f643e19429..bb6bff51ce484e6dbc4b315cc1815e3fe04b0d1c 100644 (file)
@@ -35,9 +35,9 @@
 #include <asm/reg.h>
 #include <asm/rtas.h>
 #include <asm/system.h>
+#include <asm/cell-regs.h>
 
 #include "../platforms/cell/interrupt.h"
-#include "../platforms/cell/cbe_regs.h"
 #include "cell/pr_util.h"
 
 static void cell_global_stop_spu(void);
index 0b6e8ee85ab10be1faf5f9d985d3e750deff46bf..901236fa0f07bed62c1e63c191a4b5debd90fcd4 100644 (file)
@@ -24,7 +24,7 @@
 #include <asm/machdep.h>
 #include <asm/of_platform.h>
 #include <asm/prom.h>
-#include "cbe_regs.h"
+#include <asm/cell-regs.h>
 #include "cbe_cpufreq.h"
 
 static DEFINE_MUTEX(cbe_switch_mutex);
index 163263b3e1cdba667aab23ed162da2b76a6bb55c..70fa7aef5edd9a6404f0fdc7b58e57565903821e 100644 (file)
@@ -28,8 +28,8 @@
 #include <linux/time.h>
 #include <asm/machdep.h>
 #include <asm/hw_irq.h>
+#include <asm/cell-regs.h>
 
-#include "cbe_regs.h"
 #include "cbe_cpufreq.h"
 
 /* to write to MIC register */
index fc6f38982ff47cc95163fc77b9449e43e9fc5951..6a2c1b0a9a9448432fe1cc7375ca4e8665127d47 100644 (file)
 #include <asm/processor.h>
 #include <asm/prom.h>
 #include <asm/pmi.h>
+#include <asm/cell-regs.h>
 
 #ifdef DEBUG
 #include <asm/time.h>
 #endif
 
-#include "cbe_regs.h"
 #include "cbe_cpufreq.h"
 
 static u8 pmi_slow_mode_limit[MAX_CBE];
index c8f7f000742216a3a3f87852c6844e4c85b255b0..16a9b07e7b0c24b75b2a5c17b779a5f3e12f4a27 100644 (file)
@@ -16,8 +16,7 @@
 #include <asm/ptrace.h>
 #include <asm/of_device.h>
 #include <asm/of_platform.h>
-
-#include "cbe_regs.h"
+#include <asm/cell-regs.h>
 
 /*
  * Current implementation uses "cpu" nodes. We build our own mapping
index fb5eda48467df8e723689c29ff1948bb6c2111a6..4852bf312d83c0d60a224eb9ab292dd832c96a64 100644 (file)
@@ -52,8 +52,8 @@
 #include <asm/spu.h>
 #include <asm/io.h>
 #include <asm/prom.h>
+#include <asm/cell-regs.h>
 
-#include "cbe_regs.h"
 #include "spu_priv1_mmio.h"
 
 #define TEMP_MIN 65
index c29e634177fa738d39db22a73138d72a749f995d..151fd8b82d63b2e0878a7ee48118b3cda0ca0576 100644 (file)
@@ -41,9 +41,9 @@
 #include <asm/prom.h>
 #include <asm/ptrace.h>
 #include <asm/machdep.h>
+#include <asm/cell-regs.h>
 
 #include "interrupt.h"
-#include "cbe_regs.h"
 
 struct iic {
        struct cbe_iic_thread_regs __iomem *regs;
index 760caa76841a025e35969ef58b67002f228e91e7..faabc3fdc130220ff7aeb8bd3ddc139e20157654 100644 (file)
@@ -34,8 +34,8 @@
 #include <asm/udbg.h>
 #include <asm/of_platform.h>
 #include <asm/lmb.h>
+#include <asm/cell-regs.h>
 
-#include "cbe_regs.h"
 #include "interrupt.h"
 
 /* Define CELL_IOMMU_REAL_UNMAP to actually unmap non-used pages
index 4ede22d363fa7b701e446193b6b97fb4ec7c5600..0304589c0a80550e07be726c6557538f7ee8ae03 100644 (file)
@@ -34,9 +34,9 @@
 #include <asm/prom.h>
 #include <asm/pgtable.h>
 #include <asm/reg.h>
+#include <asm/cell-regs.h>
 
 #include "pervasive.h"
-#include "cbe_regs.h"
 
 static int sysreset_hack;
 
index 66ca4b5a1dbc6cab284962aec94ac9a38f2da189..1ed3036788879d018c7dcdab5bf68925d87f9fce 100644 (file)
@@ -30,8 +30,8 @@
 #include <asm/pmc.h>
 #include <asm/reg.h>
 #include <asm/spu.h>
+#include <asm/cell-regs.h>
 
-#include "cbe_regs.h"
 #include "interrupt.h"
 
 /*
index 3961a085b432b4046bd2525c2e850c708da49ae4..b2494ebcdbe9a131beb472f2ca45d04825a509d9 100644 (file)
@@ -10,9 +10,9 @@
 #include <asm/prom.h>
 #include <asm/machdep.h>
 #include <asm/rtas.h>
+#include <asm/cell-regs.h>
 
 #include "ras.h"
-#include "cbe_regs.h"
 
 
 static void dump_fir(int cpu)
index db6654272e133112acecdc83f35ad20e5c80b914..b8d95ad736e84c0bece891093a5cdf0bff0fae8f 100644 (file)
@@ -52,9 +52,9 @@
 #include <asm/udbg.h>
 #include <asm/mpic.h>
 #include <asm/of_platform.h>
+#include <asm/cell-regs.h>
 
 #include "interrupt.h"
-#include "cbe_regs.h"
 #include "pervasive.h"
 #include "ras.h"