diff options
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index b72849ac7db3..1f8988585054 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -1321,7 +1321,7 @@ static void __init prom_initialize_tce_table(void) | |||
1321 | * | 1321 | * |
1322 | * -- Cort | 1322 | * -- Cort |
1323 | */ | 1323 | */ |
1324 | extern void __secondary_hold(void); | 1324 | extern char __secondary_hold; |
1325 | extern unsigned long __secondary_hold_spinloop; | 1325 | extern unsigned long __secondary_hold_spinloop; |
1326 | extern unsigned long __secondary_hold_acknowledge; | 1326 | extern unsigned long __secondary_hold_acknowledge; |
1327 | 1327 | ||
@@ -1342,13 +1342,7 @@ static void __init prom_hold_cpus(void) | |||
1342 | = (void *) LOW_ADDR(__secondary_hold_spinloop); | 1342 | = (void *) LOW_ADDR(__secondary_hold_spinloop); |
1343 | unsigned long *acknowledge | 1343 | unsigned long *acknowledge |
1344 | = (void *) LOW_ADDR(__secondary_hold_acknowledge); | 1344 | = (void *) LOW_ADDR(__secondary_hold_acknowledge); |
1345 | #ifdef CONFIG_PPC64 | ||
1346 | /* __secondary_hold is actually a descriptor, not the text address */ | ||
1347 | unsigned long secondary_hold | ||
1348 | = __pa(*PTRRELOC((unsigned long *)__secondary_hold)); | ||
1349 | #else | ||
1350 | unsigned long secondary_hold = LOW_ADDR(__secondary_hold); | 1345 | unsigned long secondary_hold = LOW_ADDR(__secondary_hold); |
1351 | #endif | ||
1352 | 1346 | ||
1353 | prom_debug("prom_hold_cpus: start...\n"); | 1347 | prom_debug("prom_hold_cpus: start...\n"); |
1354 | prom_debug(" 1) spinloop = 0x%x\n", (unsigned long)spinloop); | 1348 | prom_debug(" 1) spinloop = 0x%x\n", (unsigned long)spinloop); |