diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/paca.h | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/paca.c | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h index c47d687ab01b..4b74c6c9d82a 100644 --- a/arch/powerpc/include/asm/paca.h +++ b/arch/powerpc/include/asm/paca.h | |||
@@ -167,7 +167,6 @@ struct paca_struct { | |||
167 | }; | 167 | }; |
168 | 168 | ||
169 | extern struct paca_struct *paca; | 169 | extern struct paca_struct *paca; |
170 | extern __initdata struct paca_struct boot_paca; | ||
171 | extern void initialise_paca(struct paca_struct *new_paca, int cpu); | 170 | extern void initialise_paca(struct paca_struct *new_paca, int cpu); |
172 | extern void setup_paca(struct paca_struct *new_paca); | 171 | extern void setup_paca(struct paca_struct *new_paca); |
173 | extern void allocate_pacas(void); | 172 | extern void allocate_pacas(void); |
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index cd6da855090c..f8f24685f10a 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c | |||
@@ -120,8 +120,6 @@ struct slb_shadow slb_shadow[] __cacheline_aligned = { | |||
120 | struct paca_struct *paca; | 120 | struct paca_struct *paca; |
121 | EXPORT_SYMBOL(paca); | 121 | EXPORT_SYMBOL(paca); |
122 | 122 | ||
123 | struct paca_struct boot_paca; | ||
124 | |||
125 | void __init initialise_paca(struct paca_struct *new_paca, int cpu) | 123 | void __init initialise_paca(struct paca_struct *new_paca, int cpu) |
126 | { | 124 | { |
127 | /* The TOC register (GPR2) points 32kB into the TOC, so that 64kB | 125 | /* The TOC register (GPR2) points 32kB into the TOC, so that 64kB |
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 6da881b35dac..f2514e13062b 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -177,6 +177,8 @@ early_param("smt-enabled", early_smt_enabled); | |||
177 | 177 | ||
178 | void __init early_setup(unsigned long dt_ptr) | 178 | void __init early_setup(unsigned long dt_ptr) |
179 | { | 179 | { |
180 | static __initdata struct paca_struct boot_paca; | ||
181 | |||
180 | /* -------- printk is _NOT_ safe to use here ! ------- */ | 182 | /* -------- printk is _NOT_ safe to use here ! ------- */ |
181 | 183 | ||
182 | /* Identify CPU type */ | 184 | /* Identify CPU type */ |