diff options
Diffstat (limited to 'arch/x86/mach-es7000/es7000plat.c')
-rw-r--r-- | arch/x86/mach-es7000/es7000plat.c | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/arch/x86/mach-es7000/es7000plat.c b/arch/x86/mach-es7000/es7000plat.c index ab99072d3f9a..f5d6f7d8b86e 100644 --- a/arch/x86/mach-es7000/es7000plat.c +++ b/arch/x86/mach-es7000/es7000plat.c | |||
@@ -46,11 +46,11 @@ | |||
46 | * ES7000 Globals | 46 | * ES7000 Globals |
47 | */ | 47 | */ |
48 | 48 | ||
49 | volatile unsigned long *psai = NULL; | 49 | static volatile unsigned long *psai = NULL; |
50 | struct mip_reg *mip_reg; | 50 | static struct mip_reg *mip_reg; |
51 | struct mip_reg *host_reg; | 51 | static struct mip_reg *host_reg; |
52 | int mip_port; | 52 | static int mip_port; |
53 | unsigned long mip_addr, host_addr; | 53 | static unsigned long mip_addr, host_addr; |
54 | 54 | ||
55 | /* | 55 | /* |
56 | * GSI override for ES7000 platforms. | 56 | * GSI override for ES7000 platforms. |
@@ -288,28 +288,8 @@ es7000_start_cpu(int cpu, unsigned long eip) | |||
288 | 288 | ||
289 | } | 289 | } |
290 | 290 | ||
291 | int | ||
292 | es7000_stop_cpu(int cpu) | ||
293 | { | ||
294 | int startup; | ||
295 | |||
296 | if (psai == NULL) | ||
297 | return -1; | ||
298 | |||
299 | startup= (0x1000000 | cpu); | ||
300 | |||
301 | while ((*psai & 0xff00ffff) != startup) | ||
302 | ; | ||
303 | |||
304 | startup = (*psai & 0xff0000) >> 16; | ||
305 | *psai &= 0xffffff; | ||
306 | |||
307 | return 0; | ||
308 | |||
309 | } | ||
310 | |||
311 | void __init | 291 | void __init |
312 | es7000_sw_apic() | 292 | es7000_sw_apic(void) |
313 | { | 293 | { |
314 | if (es7000_plat) { | 294 | if (es7000_plat) { |
315 | int mip_status; | 295 | int mip_status; |