x86: apic namespace cleanup
boot_cpu_physical_apicid is a global variable and used as function argument as well. Rename the function arguments to avoid confusion. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -112,7 +112,7 @@ static physid_mask_t bigsmp_ioapic_phys_id_map(physid_mask_t phys_map)
|
||||
return physids_promote(0xFFL);
|
||||
}
|
||||
|
||||
static int bigsmp_check_phys_apicid_present(int boot_cpu_physical_apicid)
|
||||
static int bigsmp_check_phys_apicid_present(int phys_apicid)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
@@ -413,7 +413,7 @@ static inline physid_mask_t numaq_apicid_to_cpu_present(int logical_apicid)
|
||||
/* Where the IO area was mapped on multiquad, always 0 otherwise */
|
||||
void *xquad_portio;
|
||||
|
||||
static inline int numaq_check_phys_apicid_present(int boot_cpu_physical_apicid)
|
||||
static inline int numaq_check_phys_apicid_present(int phys_apicid)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
@@ -272,7 +272,7 @@ static physid_mask_t summit_apicid_to_cpu_present(int apicid)
|
||||
return physid_mask_of_physid(0);
|
||||
}
|
||||
|
||||
static int summit_check_phys_apicid_present(int boot_cpu_physical_apicid)
|
||||
static int summit_check_phys_apicid_present(int physical_apicid)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
@@ -129,9 +129,9 @@ int default_cpu_present_to_apicid(int mps_cpu)
|
||||
return __default_cpu_present_to_apicid(mps_cpu);
|
||||
}
|
||||
|
||||
int default_check_phys_apicid_present(int boot_cpu_physical_apicid)
|
||||
int default_check_phys_apicid_present(int phys_apicid)
|
||||
{
|
||||
return __default_check_phys_apicid_present(boot_cpu_physical_apicid);
|
||||
return __default_check_phys_apicid_present(phys_apicid);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user