[PATCH] powerpc: Move naca.h to platforms/iseries
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>
This commit is contained in:

committed by
Paul Mackerras

parent
9933f299d0
commit
f11b7bd88f
@@ -13,7 +13,6 @@
|
|||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/naca.h>
|
|
||||||
#include <asm/abs_addr.h>
|
#include <asm/abs_addr.h>
|
||||||
#include <asm/iSeries/ItLpNaca.h>
|
#include <asm/iSeries/ItLpNaca.h>
|
||||||
#include <asm/lppaca.h>
|
#include <asm/lppaca.h>
|
||||||
@@ -23,6 +22,7 @@
|
|||||||
#include <asm/iSeries/ItExtVpdPanel.h>
|
#include <asm/iSeries/ItExtVpdPanel.h>
|
||||||
#include <asm/iSeries/ItLpQueue.h>
|
#include <asm/iSeries/ItLpQueue.h>
|
||||||
|
|
||||||
|
#include "naca.h"
|
||||||
#include "vpd_areas.h"
|
#include "vpd_areas.h"
|
||||||
#include "spcomm_area.h"
|
#include "spcomm_area.h"
|
||||||
#include "ipl_parms.h"
|
#include "ipl_parms.h"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#ifndef _NACA_H
|
#ifndef _PLATFORMS_ISERIES_NACA_H
|
||||||
#define _NACA_H
|
#define _PLATFORMS_ISERIES_NACA_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* c 2001 PPC 64 Team, IBM Corp
|
* c 2001 PPC 64 Team, IBM Corp
|
||||||
@@ -21,4 +21,4 @@ struct naca_struct {
|
|||||||
|
|
||||||
extern struct naca_struct naca;
|
extern struct naca_struct naca;
|
||||||
|
|
||||||
#endif /* _NACA_H */
|
#endif /* _PLATFORMS_ISERIES_NACA_H */
|
@@ -24,7 +24,7 @@
|
|||||||
* address of the OS's NACA).
|
* address of the OS's NACA).
|
||||||
*/
|
*/
|
||||||
#include <asm/types.h>
|
#include <asm/types.h>
|
||||||
#include <asm/naca.h>
|
#include "naca.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When we IPL a secondary partition, we will check if if the
|
* When we IPL a secondary partition, we will check if if the
|
||||||
|
@@ -41,7 +41,6 @@
|
|||||||
#include <asm/firmware.h>
|
#include <asm/firmware.h>
|
||||||
|
|
||||||
#include <asm/time.h>
|
#include <asm/time.h>
|
||||||
#include <asm/naca.h>
|
|
||||||
#include <asm/paca.h>
|
#include <asm/paca.h>
|
||||||
#include <asm/cache.h>
|
#include <asm/cache.h>
|
||||||
#include <asm/sections.h>
|
#include <asm/sections.h>
|
||||||
@@ -54,6 +53,7 @@
|
|||||||
#include <asm/iSeries/HvLpEvent.h>
|
#include <asm/iSeries/HvLpEvent.h>
|
||||||
#include <asm/iSeries/LparMap.h>
|
#include <asm/iSeries/LparMap.h>
|
||||||
|
|
||||||
|
#include "naca.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
#include "irq.h"
|
#include "irq.h"
|
||||||
#include "vpd_areas.h"
|
#include "vpd_areas.h"
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/udbg.h>
|
#include <asm/udbg.h>
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/naca.h>
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/prom.h>
|
#include <asm/prom.h>
|
||||||
#include <asm/pmac_feature.h>
|
#include <asm/pmac_feature.h>
|
||||||
|
Reference in New Issue
Block a user