]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] powerpc: Move naca.h to platforms/iseries
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 1 Nov 2005 04:30:26 +0000 (15:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 Nov 2005 05:05:53 +0000 (16:05 +1100)
These days, the NACA only exists on iSeries.  Therefore, this patch
moves naca.h from include/asm-ppc64 to arch/powerpc/platforms/iseries.
There was one file including naca.h outside of platforms/iseries -
arch/ppc64/kernel/udbg_scc.c.  However, that's obviously a hangover
from older days.  The include is not necessary, so this patch simply
removes it.

Built and booted on iSeries, built for G5 (which uses udbg_scc.o).

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/lpardata.c
arch/powerpc/platforms/iseries/naca.h [moved from include/asm-ppc64/naca.h with 85% similarity]
arch/powerpc/platforms/iseries/release_data.h
arch/powerpc/platforms/iseries/setup.c
arch/ppc64/kernel/udbg_scc.c

index ed2ffee6f731ccd2271bd1f3fea26ebe7238487d..e856947bd16da4f8e1b35e858fd03d5ef0889c31 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/bitops.h>
 #include <asm/processor.h>
 #include <asm/ptrace.h>
-#include <asm/naca.h>
 #include <asm/abs_addr.h>
 #include <asm/iSeries/ItLpNaca.h>
 #include <asm/lppaca.h>
@@ -23,6 +22,7 @@
 #include <asm/iSeries/ItExtVpdPanel.h>
 #include <asm/iSeries/ItLpQueue.h>
 
+#include "naca.h"
 #include "vpd_areas.h"
 #include "spcomm_area.h"
 #include "ipl_parms.h"
similarity index 85%
rename from include/asm-ppc64/naca.h
rename to arch/powerpc/platforms/iseries/naca.h
index d2afe64475975768bd513d732c7b0c3da8813bd4..ab2372eb8d2ea08f72c2f06ed731db076c10ad2d 100644 (file)
@@ -1,7 +1,7 @@
-#ifndef _NACA_H
-#define _NACA_H
+#ifndef _PLATFORMS_ISERIES_NACA_H
+#define _PLATFORMS_ISERIES_NACA_H
 
-/* 
+/*
  * c 2001 PPC 64 Team, IBM Corp
  *
  * This program is free software; you can redistribute it and/or
@@ -21,4 +21,4 @@ struct naca_struct {
 
 extern struct naca_struct naca;
 
-#endif /* _NACA_H */
+#endif /* _PLATFORMS_ISERIES_NACA_H */
index c68b9c3e5caf4d35ccfc1c57e1cb9ddfce83556f..66189fd2e32dfac18de86785311c91839896de0f 100644 (file)
@@ -24,7 +24,7 @@
  * address of the OS's NACA).
  */
 #include <asm/types.h>
-#include <asm/naca.h>
+#include "naca.h"
 
 /*
  * When we IPL a secondary partition, we will check if if the
index 06431e642533ba198f6d5439bcfaef11fedf905c..7bc19a594cc68bd7835aa1a72c39edbbd7632482 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/firmware.h>
 
 #include <asm/time.h>
-#include <asm/naca.h>
 #include <asm/paca.h>
 #include <asm/cache.h>
 #include <asm/sections.h>
@@ -54,6 +53,7 @@
 #include <asm/iSeries/HvLpEvent.h>
 #include <asm/iSeries/LparMap.h>
 
+#include "naca.h"
 #include "setup.h"
 #include "irq.h"
 #include "vpd_areas.h"
index c47fd6c635313d7ac66855b2d48d9cd8bfe1b958..820c5355150761997aab89aa10fec5b44a9d1c69 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/types.h>
 #include <asm/udbg.h>
 #include <asm/processor.h>
-#include <asm/naca.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/pmac_feature.h>