x86/init: Add intr_mode_init to x86_init_ops
X86 and XEN initialize interrupt delivery mode in different way. To avoid conditionals, add a new x86_init_ops function which defaults to the standard function and can be overridden by the early XEN platform code. [ tglx: Folded the XEN part which was a separate patch to preserve bisectability ] Signed-off-by:Dou Liyang <douly.fnst@cn.fujitsu.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: yinghai@kernel.org Cc: bhe@redhat.com Link: https://lkml.kernel.org/r/1505293975-26005-10-git-send-email-douly.fnst@cn.fujitsu.com
Showing
- arch/x86/include/asm/x86_init.h 2 additions, 0 deletionsarch/x86/include/asm/x86_init.h
- arch/x86/kernel/apic/apic.c 1 addition, 1 deletionarch/x86/kernel/apic/apic.c
- arch/x86/kernel/smpboot.c 1 addition, 1 deletionarch/x86/kernel/smpboot.c
- arch/x86/kernel/x86_init.c 1 addition, 0 deletionsarch/x86/kernel/x86_init.c
- arch/x86/xen/enlighten_pv.c 1 addition, 0 deletionsarch/x86/xen/enlighten_pv.c
Please register or sign in to comment