aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genx2apic_uv_x.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-02-17 02:02:14 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-17 06:22:20 -0500
commitc1eeb2de41d7015678bdd412b48a5f071b84e29a (patch)
tree6af99f46f557f9e854e882deac52d23b2fadb5a2 /arch/x86/kernel/genx2apic_uv_x.c
parent06cd9a7dc8a58186060a91b6ddc031057435fd34 (diff)
x86: fold apic_ops into genapic
Impact: cleanup make it simpler, don't need have one extra struct. v2: fix the sgi_uv build Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genx2apic_uv_x.c')
-rw-r--r--arch/x86/kernel/genx2apic_uv_x.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/kernel/genx2apic_uv_x.c b/arch/x86/kernel/genx2apic_uv_x.c
index 89b84e004f0..9ae4a92fac8 100644
--- a/arch/x86/kernel/genx2apic_uv_x.c
+++ b/arch/x86/kernel/genx2apic_uv_x.c
@@ -22,8 +22,8 @@
22#include <linux/proc_fs.h> 22#include <linux/proc_fs.h>
23#include <asm/current.h> 23#include <asm/current.h>
24#include <asm/smp.h> 24#include <asm/smp.h>
25#include <asm/ipi.h>
26#include <asm/genapic.h> 25#include <asm/genapic.h>
26#include <asm/ipi.h>
27#include <asm/pgtable.h> 27#include <asm/pgtable.h>
28#include <asm/uv/uv.h> 28#include <asm/uv/uv.h>
29#include <asm/uv/uv_mmrs.h> 29#include <asm/uv/uv_mmrs.h>
@@ -292,6 +292,13 @@ struct genapic apic_x2apic_uv_x = {
292 .smp_callin_clear_local_apic = NULL, 292 .smp_callin_clear_local_apic = NULL,
293 .store_NMI_vector = NULL, 293 .store_NMI_vector = NULL,
294 .inquire_remote_apic = NULL, 294 .inquire_remote_apic = NULL,
295
296 .read = native_apic_msr_read,
297 .write = native_apic_msr_write,
298 .icr_read = native_x2apic_icr_read,
299 .icr_write = native_x2apic_icr_write,
300 .wait_icr_idle = native_x2apic_wait_icr_idle,
301 .safe_wait_icr_idle = native_safe_x2apic_wait_icr_idle,
295}; 302};
296 303
297static __cpuinit void set_x2apic_extra_bits(int pnode) 304static __cpuinit void set_x2apic_extra_bits(int pnode)