diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/apic/summit_32.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/apic/summit_32.c b/arch/x86/kernel/apic/summit_32.c index beda620bee86..aac52fa873ff 100644 --- a/arch/x86/kernel/apic/summit_32.c +++ b/arch/x86/kernel/apic/summit_32.c | |||
@@ -77,9 +77,9 @@ static void summit_send_IPI_all(int vector) | |||
77 | extern int use_cyclone; | 77 | extern int use_cyclone; |
78 | 78 | ||
79 | #ifdef CONFIG_X86_SUMMIT_NUMA | 79 | #ifdef CONFIG_X86_SUMMIT_NUMA |
80 | extern void setup_summit(void); | 80 | static void setup_summit(void); |
81 | #else | 81 | #else |
82 | #define setup_summit() {} | 82 | static inline void setup_summit(void) {} |
83 | #endif | 83 | #endif |
84 | 84 | ||
85 | static int summit_mps_oem_check(struct mpc_table *mpc, char *oem, | 85 | static int summit_mps_oem_check(struct mpc_table *mpc, char *oem, |
@@ -360,15 +360,15 @@ static void summit_vector_allocation_domain(int cpu, cpumask_t *retmask) | |||
360 | } | 360 | } |
361 | 361 | ||
362 | #ifdef CONFIG_X86_SUMMIT_NUMA | 362 | #ifdef CONFIG_X86_SUMMIT_NUMA |
363 | static struct rio_table_hdr *rio_table_hdr __initdata; | 363 | static struct rio_table_hdr *rio_table_hdr; |
364 | static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata; | 364 | static struct scal_detail *scal_devs[MAX_NUMNODES]; |
365 | static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata; | 365 | static struct rio_detail *rio_devs[MAX_NUMNODES*4]; |
366 | 366 | ||
367 | #ifndef CONFIG_X86_NUMAQ | 367 | #ifndef CONFIG_X86_NUMAQ |
368 | static int mp_bus_id_to_node[MAX_MP_BUSSES] __initdata; | 368 | static int mp_bus_id_to_node[MAX_MP_BUSSES]; |
369 | #endif | 369 | #endif |
370 | 370 | ||
371 | static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus) | 371 | static int setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus) |
372 | { | 372 | { |
373 | int twister = 0, node = 0; | 373 | int twister = 0, node = 0; |
374 | int i, bus, num_buses; | 374 | int i, bus, num_buses; |
@@ -430,7 +430,7 @@ static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus) | |||
430 | return bus; | 430 | return bus; |
431 | } | 431 | } |
432 | 432 | ||
433 | static int __init build_detail_arrays(void) | 433 | static int build_detail_arrays(void) |
434 | { | 434 | { |
435 | unsigned long ptr; | 435 | unsigned long ptr; |
436 | int i, scal_detail_size, rio_detail_size; | 436 | int i, scal_detail_size, rio_detail_size; |
@@ -464,7 +464,7 @@ static int __init build_detail_arrays(void) | |||
464 | return 1; | 464 | return 1; |
465 | } | 465 | } |
466 | 466 | ||
467 | void __init setup_summit(void) | 467 | void setup_summit(void) |
468 | { | 468 | { |
469 | unsigned long ptr; | 469 | unsigned long ptr; |
470 | unsigned short offset; | 470 | unsigned short offset; |