aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/apic.h14
-rw-r--r--arch/x86/kernel/apic/bigsmp_32.c2
-rw-r--r--arch/x86/kernel/apic/numaq_32.c2
-rw-r--r--arch/x86/kernel/apic/summit_32.c2
-rw-r--r--arch/x86/kernel/setup.c4
5 files changed, 12 insertions, 12 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 6f15b29005a1..d6a0f2636a61 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -292,7 +292,7 @@ struct apic {
292 int (*cpu_present_to_apicid)(int mps_cpu); 292 int (*cpu_present_to_apicid)(int mps_cpu);
293 physid_mask_t (*apicid_to_cpu_present)(int phys_apicid); 293 physid_mask_t (*apicid_to_cpu_present)(int phys_apicid);
294 void (*setup_portio_remap)(void); 294 void (*setup_portio_remap)(void);
295 int (*check_phys_apicid_present)(int boot_cpu_physical_apicid); 295 int (*check_phys_apicid_present)(int phys_apicid);
296 void (*enable_apic_mode)(void); 296 void (*enable_apic_mode)(void);
297 int (*phys_pkg_id)(int cpuid_apic, int index_msb); 297 int (*phys_pkg_id)(int cpuid_apic, int index_msb);
298 298
@@ -426,7 +426,7 @@ extern struct apic apic_x2apic_uv_x;
426DECLARE_PER_CPU(int, x2apic_extra_bits); 426DECLARE_PER_CPU(int, x2apic_extra_bits);
427 427
428extern int default_cpu_present_to_apicid(int mps_cpu); 428extern int default_cpu_present_to_apicid(int mps_cpu);
429extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid); 429extern int default_check_phys_apicid_present(int phys_apicid);
430#endif 430#endif
431 431
432static inline void default_wait_for_init_deassert(atomic_t *deassert) 432static inline void default_wait_for_init_deassert(atomic_t *deassert)
@@ -542,9 +542,9 @@ static inline int __default_cpu_present_to_apicid(int mps_cpu)
542} 542}
543 543
544static inline int 544static inline int
545__default_check_phys_apicid_present(int boot_cpu_physical_apicid) 545__default_check_phys_apicid_present(int phys_apicid)
546{ 546{
547 return physid_isset(boot_cpu_physical_apicid, phys_cpu_present_map); 547 return physid_isset(phys_apicid, phys_cpu_present_map);
548} 548}
549 549
550#ifdef CONFIG_X86_32 550#ifdef CONFIG_X86_32
@@ -554,13 +554,13 @@ static inline int default_cpu_present_to_apicid(int mps_cpu)
554} 554}
555 555
556static inline int 556static inline int
557default_check_phys_apicid_present(int boot_cpu_physical_apicid) 557default_check_phys_apicid_present(int phys_apicid)
558{ 558{
559 return __default_check_phys_apicid_present(boot_cpu_physical_apicid); 559 return __default_check_phys_apicid_present(phys_apicid);
560} 560}
561#else 561#else
562extern int default_cpu_present_to_apicid(int mps_cpu); 562extern int default_cpu_present_to_apicid(int mps_cpu);
563extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid); 563extern int default_check_phys_apicid_present(int phys_apicid);
564#endif 564#endif
565 565
566static inline physid_mask_t default_apicid_to_cpu_present(int phys_apicid) 566static inline physid_mask_t default_apicid_to_cpu_present(int phys_apicid)
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c
index 676cdac385c0..77a06413b6b2 100644
--- a/arch/x86/kernel/apic/bigsmp_32.c
+++ b/arch/x86/kernel/apic/bigsmp_32.c
@@ -112,7 +112,7 @@ static physid_mask_t bigsmp_ioapic_phys_id_map(physid_mask_t phys_map)
112 return physids_promote(0xFFL); 112 return physids_promote(0xFFL);
113} 113}
114 114
115static int bigsmp_check_phys_apicid_present(int boot_cpu_physical_apicid) 115static int bigsmp_check_phys_apicid_present(int phys_apicid)
116{ 116{
117 return 1; 117 return 1;
118} 118}
diff --git a/arch/x86/kernel/apic/numaq_32.c b/arch/x86/kernel/apic/numaq_32.c
index f1ebed6bd150..efa00e2b8505 100644
--- a/arch/x86/kernel/apic/numaq_32.c
+++ b/arch/x86/kernel/apic/numaq_32.c
@@ -413,7 +413,7 @@ static inline physid_mask_t numaq_apicid_to_cpu_present(int logical_apicid)
413/* Where the IO area was mapped on multiquad, always 0 otherwise */ 413/* Where the IO area was mapped on multiquad, always 0 otherwise */
414void *xquad_portio; 414void *xquad_portio;
415 415
416static inline int numaq_check_phys_apicid_present(int boot_cpu_physical_apicid) 416static inline int numaq_check_phys_apicid_present(int phys_apicid)
417{ 417{
418 return 1; 418 return 1;
419} 419}
diff --git a/arch/x86/kernel/apic/summit_32.c b/arch/x86/kernel/apic/summit_32.c
index eafdfbd1ea95..645ecc4ff0be 100644
--- a/arch/x86/kernel/apic/summit_32.c
+++ b/arch/x86/kernel/apic/summit_32.c
@@ -272,7 +272,7 @@ static physid_mask_t summit_apicid_to_cpu_present(int apicid)
272 return physid_mask_of_physid(0); 272 return physid_mask_of_physid(0);
273} 273}
274 274
275static int summit_check_phys_apicid_present(int boot_cpu_physical_apicid) 275static int summit_check_phys_apicid_present(int physical_apicid)
276{ 276{
277 return 1; 277 return 1;
278} 278}
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 2d93026af7cd..fda22ec1a935 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -129,9 +129,9 @@ int default_cpu_present_to_apicid(int mps_cpu)
129 return __default_cpu_present_to_apicid(mps_cpu); 129 return __default_cpu_present_to_apicid(mps_cpu);
130} 130}
131 131
132int default_check_phys_apicid_present(int boot_cpu_physical_apicid) 132int default_check_phys_apicid_present(int phys_apicid)
133{ 133{
134 return __default_check_phys_apicid_present(boot_cpu_physical_apicid); 134 return __default_check_phys_apicid_present(phys_apicid);
135} 135}
136#endif 136#endif
137 137