diff options
author | Juergen Gross <jgross@suse.com> | 2015-11-17 08:44:32 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-11-19 05:03:58 -0500 |
commit | 460958659270b7d750d4ccfe052171cb6f655cbb (patch) | |
tree | 8c22e60913118ec1684c630233de399f2903f9df /arch/x86/xen/enlighten.c | |
parent | 2f7a3f8e871eb0713d23c533bd5e44a544e43eb8 (diff) |
x86/paravirt: Remove unused pv_apic_ops structure
The only member of that structure is startup_ipi_hook which is always
set to paravirt_nop.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Cc: jeremy@goop.org
Cc: chrisw@sous-sol.org
Cc: akataria@vmware.com
Cc: rusty@rustcorp.com.au
Cc: virtualization@lists.linux-foundation.org
Cc: xen-devel@lists.xen.org
Cc: konrad.wilk@oracle.com
Cc: boris.ostrovsky@oracle.com
Link: http://lkml.kernel.org/r/1447767872-16730-1-git-send-email-jgross@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 993b7a71386d..2745e8ae93f3 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1264,12 +1264,6 @@ static const struct pv_cpu_ops xen_cpu_ops __initconst = { | |||
1264 | .end_context_switch = xen_end_context_switch, | 1264 | .end_context_switch = xen_end_context_switch, |
1265 | }; | 1265 | }; |
1266 | 1266 | ||
1267 | static const struct pv_apic_ops xen_apic_ops __initconst = { | ||
1268 | #ifdef CONFIG_X86_LOCAL_APIC | ||
1269 | .startup_ipi_hook = paravirt_nop, | ||
1270 | #endif | ||
1271 | }; | ||
1272 | |||
1273 | static void xen_reboot(int reason) | 1267 | static void xen_reboot(int reason) |
1274 | { | 1268 | { |
1275 | struct sched_shutdown r = { .reason = reason }; | 1269 | struct sched_shutdown r = { .reason = reason }; |
@@ -1535,7 +1529,6 @@ asmlinkage __visible void __init xen_start_kernel(void) | |||
1535 | /* Install Xen paravirt ops */ | 1529 | /* Install Xen paravirt ops */ |
1536 | pv_info = xen_info; | 1530 | pv_info = xen_info; |
1537 | pv_init_ops = xen_init_ops; | 1531 | pv_init_ops = xen_init_ops; |
1538 | pv_apic_ops = xen_apic_ops; | ||
1539 | if (!xen_pvh_domain()) { | 1532 | if (!xen_pvh_domain()) { |
1540 | pv_cpu_ops = xen_cpu_ops; | 1533 | pv_cpu_ops = xen_cpu_ops; |
1541 | 1534 | ||