diff options
Diffstat (limited to 'arch/x86/kernel/genx2apic_uv_x.c')
-rw-r--r-- | arch/x86/kernel/genx2apic_uv_x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/genx2apic_uv_x.c b/arch/x86/kernel/genx2apic_uv_x.c index 67e7658775e7..50310b96adc3 100644 --- a/arch/x86/kernel/genx2apic_uv_x.c +++ b/arch/x86/kernel/genx2apic_uv_x.c | |||
@@ -201,7 +201,7 @@ static unsigned int uv_cpu_mask_to_apicid_and(const struct cpumask *cpumask, | |||
201 | return BAD_APICID; | 201 | return BAD_APICID; |
202 | } | 202 | } |
203 | 203 | ||
204 | static unsigned int get_apic_id(unsigned long x) | 204 | static unsigned int x2apic_get_apic_id(unsigned long x) |
205 | { | 205 | { |
206 | unsigned int id; | 206 | unsigned int id; |
207 | 207 | ||
@@ -223,7 +223,7 @@ static unsigned long set_apic_id(unsigned int id) | |||
223 | static unsigned int uv_read_apic_id(void) | 223 | static unsigned int uv_read_apic_id(void) |
224 | { | 224 | { |
225 | 225 | ||
226 | return get_apic_id(apic_read(APIC_ID)); | 226 | return x2apic_get_apic_id(apic_read(APIC_ID)); |
227 | } | 227 | } |
228 | 228 | ||
229 | static int uv_phys_pkg_id(int initial_apicid, int index_msb) | 229 | static int uv_phys_pkg_id(int initial_apicid, int index_msb) |
@@ -268,7 +268,7 @@ struct genapic apic_x2apic_uv_x = { | |||
268 | .phys_pkg_id = uv_phys_pkg_id, | 268 | .phys_pkg_id = uv_phys_pkg_id, |
269 | .mps_oem_check = NULL, | 269 | .mps_oem_check = NULL, |
270 | 270 | ||
271 | .get_apic_id = get_apic_id, | 271 | .get_apic_id = x2apic_get_apic_id, |
272 | .set_apic_id = set_apic_id, | 272 | .set_apic_id = set_apic_id, |
273 | .apic_id_mask = 0xFFFFFFFFu, | 273 | .apic_id_mask = 0xFFFFFFFFu, |
274 | 274 | ||