Commit a4928cffe6435caf427ae673131a633c1329dbf3
1 parent
f8dc5a186c
Exists in
master
and in
7 other branches
"make namespacecheck" fixes
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 13 changed files with 18 additions and 20 deletions Side-by-side Diff
- arch/x86/kernel/apic_32.c
- arch/x86/kernel/apic_64.c
- arch/x86/kernel/process_32.c
- arch/x86/kernel/process_64.c
- arch/x86/kernel/setup_32.c
- arch/x86/kernel/smpboot.c
- arch/x86/kernel/tlb_64.c
- arch/x86/kernel/vsyscall_64.c
- arch/x86/mm/dump_pagetables.c
- arch/x86/mm/pageattr.c
- arch/x86/mm/srat_64.c
- include/asm-x86/smp.h
- include/asm-x86/tsc.h
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c
... | ... | @@ -429,7 +429,7 @@ |
429 | 429 | * set the DUMMY flag again and force the broadcast mode in the |
430 | 430 | * clockevents layer. |
431 | 431 | */ |
432 | -void __cpuinit check_boot_apic_timer_broadcast(void) | |
432 | +static void __cpuinit check_boot_apic_timer_broadcast(void) | |
433 | 433 | { |
434 | 434 | if (!disable_apic_timer || |
435 | 435 | (lapic_clockevent.features & CLOCK_EVT_FEAT_DUMMY)) |
... | ... | @@ -834,7 +834,7 @@ |
834 | 834 | preempt_enable(); |
835 | 835 | } |
836 | 836 | |
837 | -void __cpuinit lapic_setup_esr(void) | |
837 | +static void __cpuinit lapic_setup_esr(void) | |
838 | 838 | { |
839 | 839 | unsigned maxlvt = lapic_get_maxlvt(); |
840 | 840 |
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/setup_32.c
... | ... | @@ -442,7 +442,7 @@ |
442 | 442 | } |
443 | 443 | |
444 | 444 | #ifndef CONFIG_NEED_MULTIPLE_NODES |
445 | -void __init setup_bootmem_allocator(void); | |
445 | +static void __init setup_bootmem_allocator(void); | |
446 | 446 | static unsigned long __init setup_memory(void) |
447 | 447 | { |
448 | 448 | /* |
... | ... | @@ -477,7 +477,7 @@ |
477 | 477 | return max_low_pfn; |
478 | 478 | } |
479 | 479 | |
480 | -void __init zone_sizes_init(void) | |
480 | +static void __init zone_sizes_init(void) | |
481 | 481 | { |
482 | 482 | unsigned long max_zone_pfns[MAX_NR_ZONES]; |
483 | 483 | memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); |
arch/x86/kernel/smpboot.c
... | ... | @@ -184,7 +184,7 @@ |
184 | 184 | u8 cpu_2_logical_apicid[NR_CPUS] __read_mostly = |
185 | 185 | { [0 ... NR_CPUS-1] = BAD_APICID }; |
186 | 186 | |
187 | -void map_cpu_to_logical_apicid(void) | |
187 | +static void map_cpu_to_logical_apicid(void) | |
188 | 188 | { |
189 | 189 | int cpu = smp_processor_id(); |
190 | 190 | int apicid = logical_smp_processor_id(); |
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | map_cpu_to_node(cpu, node); |
198 | 198 | } |
199 | 199 | |
200 | -void unmap_cpu_to_logical_apicid(int cpu) | |
200 | +static void unmap_cpu_to_logical_apicid(int cpu) | |
201 | 201 | { |
202 | 202 | cpu_2_logical_apicid[cpu] = BAD_APICID; |
203 | 203 | unmap_cpu_to_node(cpu); |
... | ... | @@ -211,7 +211,7 @@ |
211 | 211 | * Report back to the Boot Processor. |
212 | 212 | * Running on AP. |
213 | 213 | */ |
214 | -void __cpuinit smp_callin(void) | |
214 | +static void __cpuinit smp_callin(void) | |
215 | 215 | { |
216 | 216 | int cpuid, phys_id; |
217 | 217 | unsigned long timeout; |
... | ... | @@ -436,7 +436,7 @@ |
436 | 436 | #endif |
437 | 437 | } |
438 | 438 | |
439 | -void __cpuinit smp_checks(void) | |
439 | +static void __cpuinit smp_checks(void) | |
440 | 440 | { |
441 | 441 | if (smp_b_stepping) |
442 | 442 | printk(KERN_WARNING "WARNING: SMP operation may be unreliable" |
... | ... | @@ -565,7 +565,7 @@ |
565 | 565 | } |
566 | 566 | #endif |
567 | 567 | |
568 | -void impress_friends(void) | |
568 | +static void impress_friends(void) | |
569 | 569 | { |
570 | 570 | int cpu; |
571 | 571 | unsigned long bogosum = 0; |
... | ... | @@ -1287,7 +1287,7 @@ |
1287 | 1287 | } |
1288 | 1288 | # endif /* CONFIG_X86_32 */ |
1289 | 1289 | |
1290 | -void remove_siblinginfo(int cpu) | |
1290 | +static void remove_siblinginfo(int cpu) | |
1291 | 1291 | { |
1292 | 1292 | int sibling; |
1293 | 1293 | struct cpuinfo_x86 *c = &cpu_data(cpu); |
arch/x86/kernel/tlb_64.c
arch/x86/kernel/vsyscall_64.c
arch/x86/mm/dump_pagetables.c
arch/x86/mm/pageattr.c
arch/x86/mm/srat_64.c
... | ... | @@ -163,7 +163,7 @@ |
163 | 163 | pxm, apic_id, node); |
164 | 164 | } |
165 | 165 | |
166 | -int update_end_of_memory(unsigned long end) {return -1;} | |
166 | +static int update_end_of_memory(unsigned long end) {return -1;} | |
167 | 167 | static int hotadd_enough_memory(struct bootnode *nd) {return 1;} |
168 | 168 | #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE |
169 | 169 | static inline int save_add_info(void) {return 1;} |
include/asm-x86/smp.h