summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-02-13 17:03:16 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-02-15 16:54:48 +1100
commit6a7e406419d8b176efbc5be41a82299025ad1b43 (patch)
tree71ed89f0a34ec6ca7a10682e280300e42bdc5fdc /arch/powerpc/kernel/setup_64.c
parent69fde0210e9cac299d6713549a9cba612c1fd727 (diff)
powerpc: Move boot_paca into early_setup
The powerpc boot_paca symbol is now only used within the early_setup() routine, so move it from its global definition into early_setup(). Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 6da881b35da..f2514e13062 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);
void __init early_setup(unsigned long dt_ptr)
{
+ static __initdata struct paca_struct boot_paca;
+
/* -------- printk is _NOT_ safe to use here ! ------- */
/* Identify CPU type */