diff options
-rw-r--r-- | arch/ppc/platforms/pmac_smp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/ppc/platforms/pmac_smp.c b/arch/ppc/platforms/pmac_smp.c index 731841f9a5b..8e049dab4e6 100644 --- a/arch/ppc/platforms/pmac_smp.c +++ b/arch/ppc/platforms/pmac_smp.c | |||
@@ -91,11 +91,11 @@ extern void __secondary_start_psurge3(void); /* Temporary horrible hack */ | |||
91 | #define PSURGE_QUAD_BIC(r, v) (PSURGE_QUAD_OUT((r), PSURGE_QUAD_IN(r) & ~(v))) | 91 | #define PSURGE_QUAD_BIC(r, v) (PSURGE_QUAD_OUT((r), PSURGE_QUAD_IN(r) & ~(v))) |
92 | 92 | ||
93 | /* virtual addresses for the above */ | 93 | /* virtual addresses for the above */ |
94 | static volatile u8 *hhead_base; | 94 | static volatile u8 __iomem *hhead_base; |
95 | static volatile u8 *quad_base; | 95 | static volatile u8 __iomem *quad_base; |
96 | static volatile u32 *psurge_pri_intr; | 96 | static volatile u32 __iomem *psurge_pri_intr; |
97 | static volatile u8 *psurge_sec_intr; | 97 | static volatile u8 __iomem *psurge_sec_intr; |
98 | static volatile u32 *psurge_start; | 98 | static volatile u32 __iomem *psurge_start; |
99 | 99 | ||
100 | /* values for psurge_type */ | 100 | /* values for psurge_type */ |
101 | #define PSURGE_NONE -1 | 101 | #define PSURGE_NONE -1 |
@@ -322,10 +322,10 @@ static int __init smp_psurge_probe(void) | |||
322 | /* All released cards using this HW design have 4 CPUs */ | 322 | /* All released cards using this HW design have 4 CPUs */ |
323 | ncpus = 4; | 323 | ncpus = 4; |
324 | } else { | 324 | } else { |
325 | iounmap((void *) quad_base); | 325 | iounmap(quad_base); |
326 | if ((in_8(hhead_base + HHEAD_CONFIG) & 0x02) == 0) { | 326 | if ((in_8(hhead_base + HHEAD_CONFIG) & 0x02) == 0) { |
327 | /* not a dual-cpu card */ | 327 | /* not a dual-cpu card */ |
328 | iounmap((void *) hhead_base); | 328 | iounmap(hhead_base); |
329 | psurge_type = PSURGE_NONE; | 329 | psurge_type = PSURGE_NONE; |
330 | return 1; | 330 | return 1; |
331 | } | 331 | } |