aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-01-11 19:26:03 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-11 19:26:03 -0500
commit67c707e451e12f59e57bca6cf33b5803cb74b022 (patch)
tree0a0166807867a8ca7543dd7f56a5e197efc98bb9 /arch/x86/xen/enlighten.c
parent463eb8ac337bad30ace10835108a56df5817cc76 (diff)
parent0105c8d8334fc941e0297ca6708fa57854114c0e (diff)
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Ingo Molnar: "The main changes in this cycle were: - code patching and cpu_has cleanups (Borislav Petkov) - paravirt cleanups (Juergen Gross) - TSC cleanup (Thomas Gleixner) - ptrace cleanup (Chen Gang)" * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: arch/x86/kernel/ptrace.c: Remove unused arg_offs_table x86/mm: Align macro defines x86/cpu: Provide a config option to disable static_cpu_has x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros x86/cpufeature: Cleanup get_cpu_cap() x86/cpufeature: Move some of the scattered feature bits to x86_capability x86/paravirt: Remove paravirt ops pmd_update[_defer] and pte_update_defer x86/paravirt: Remove unused pv_apic_ops structure x86/tsc: Remove unused tsc_pre_init() hook x86: Remove unused function cpu_has_ht_siblings() x86/paravirt: Kill some unused patching functions
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index dd37ccabcacc..23063923e364 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1262,12 +1262,6 @@ static const struct pv_cpu_ops xen_cpu_ops __initconst = {
1262 .end_context_switch = xen_end_context_switch, 1262 .end_context_switch = xen_end_context_switch,
1263}; 1263};
1264 1264
1265static const struct pv_apic_ops xen_apic_ops __initconst = {
1266#ifdef CONFIG_X86_LOCAL_APIC
1267 .startup_ipi_hook = paravirt_nop,
1268#endif
1269};
1270
1271static void xen_reboot(int reason) 1265static void xen_reboot(int reason)
1272{ 1266{
1273 struct sched_shutdown r = { .reason = reason }; 1267 struct sched_shutdown r = { .reason = reason };
@@ -1535,7 +1529,6 @@ asmlinkage __visible void __init xen_start_kernel(void)
1535 if (xen_initial_domain()) 1529 if (xen_initial_domain())
1536 pv_info.features |= PV_SUPPORTED_RTC; 1530 pv_info.features |= PV_SUPPORTED_RTC;
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