aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant C. Likely <grant.likely@secretlab.ca>2006-01-19 01:12:32 -0700
committerPaul Mackerras <paulus@samba.org>2006-02-07 22:35:35 +1100
commitb4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04 (patch)
treefb66222169af4015f89f7ab80fea0a1469eeeb50
parent[PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu (diff)
downloadlinux-dev-b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04.tar.xz
linux-dev-b4367e7451f19a3ae8b453e8b7ac0a1fdd9bca04.zip
[PATCH] powerpc: Move xparameters.h into xilinx virtex device specific path
xparameters should not be needed by anything but virtex platform code. Move it from include/asm-ppc/ to platforms/4xx/xparameters/ This is preparing for work to remove xparameters from the dependancy tree for most c files. xparam changes should not cause a recompile of the world. Instead, drivers should get device info from the platform bus (populated by the boot code) Signed-off-by: Grant C. Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/ppc/platforms/4xx/virtex-ii_pro.h2
-rw-r--r--arch/ppc/platforms/4xx/xparameters/xparameters.h (renamed from include/asm-ppc/xparameters.h)0
-rw-r--r--arch/ppc/syslib/xilinx_pic.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/platforms/4xx/virtex-ii_pro.h b/arch/ppc/platforms/4xx/virtex-ii_pro.h
index 9014c4887339..026130c8e72a 100644
--- a/arch/ppc/platforms/4xx/virtex-ii_pro.h
+++ b/arch/ppc/platforms/4xx/virtex-ii_pro.h
@@ -16,7 +16,7 @@
#define __ASM_VIRTEXIIPRO_H__
#include <linux/config.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
/* serial defines */
diff --git a/include/asm-ppc/xparameters.h b/arch/ppc/platforms/4xx/xparameters/xparameters.h
index fe4eac629139..fe4eac629139 100644
--- a/include/asm-ppc/xparameters.h
+++ b/arch/ppc/platforms/4xx/xparameters/xparameters.h
diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c
index 47f04c71fe9c..848fb512f3f8 100644
--- a/arch/ppc/syslib/xilinx_pic.c
+++ b/arch/ppc/syslib/xilinx_pic.c
@@ -15,7 +15,7 @@
#include <linux/init.h>
#include <linux/irq.h>
#include <asm/io.h>
-#include <asm/xparameters.h>
+#include <platforms/4xx/xparameters/xparameters.h>
#include <asm/ibm4xx.h>
#include <asm/machdep.h>