diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-08 05:44:46 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-08 05:44:46 -0500 |
commit | 5d43045bcd296f9f269ab266bf26cd667d8d560c (patch) | |
tree | 09ad7a30e275c3bce3e02b3ca13c2b72c22a8600 /arch/arm/mach-realview/platsmp.c | |
parent | dbebb4cbe02dc811e21bd3bc40a252490e46b949 (diff) |
[ARM SMP] Fix some sparse warnings in SMP code
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/platsmp.c')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index 9844644d0fb5..09b35f62247a 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
@@ -32,7 +32,7 @@ static unsigned int __init get_core_count(void) | |||
32 | { | 32 | { |
33 | unsigned int ncores; | 33 | unsigned int ncores; |
34 | 34 | ||
35 | ncores = __raw_readl(IO_ADDRESS(REALVIEW_MPCORE_SCU_BASE) + SCU_CONFIG); | 35 | ncores = __raw_readl(__io_address(REALVIEW_MPCORE_SCU_BASE) + SCU_CONFIG); |
36 | 36 | ||
37 | return (ncores & 0x03) + 1; | 37 | return (ncores & 0x03) + 1; |
38 | } | 38 | } |
@@ -133,12 +133,12 @@ static void __init poke_milo(void) | |||
133 | #if 1 | 133 | #if 1 |
134 | #define REALVIEW_SYS_FLAGSS_OFFSET 0x30 | 134 | #define REALVIEW_SYS_FLAGSS_OFFSET 0x30 |
135 | __raw_writel(virt_to_phys(realview_secondary_startup), | 135 | __raw_writel(virt_to_phys(realview_secondary_startup), |
136 | (IO_ADDRESS(REALVIEW_SYS_BASE) + | 136 | __io_address(REALVIEW_SYS_BASE) + |
137 | REALVIEW_SYS_FLAGSS_OFFSET)); | 137 | REALVIEW_SYS_FLAGSS_OFFSET); |
138 | #define REALVIEW_SYS_FLAGSC_OFFSET 0x34 | 138 | #define REALVIEW_SYS_FLAGSC_OFFSET 0x34 |
139 | __raw_writel(3, | 139 | __raw_writel(3, |
140 | (IO_ADDRESS(REALVIEW_SYS_BASE) + | 140 | __io_address(REALVIEW_SYS_BASE) + |
141 | REALVIEW_SYS_FLAGSC_OFFSET)); | 141 | REALVIEW_SYS_FLAGSC_OFFSET); |
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | mb(); | 144 | mb(); |