]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/xen: Move pv irq related functions under CONFIG_XEN_PV umbrella
authorJuergen Gross <jgross@suse.com>
Tue, 28 Aug 2018 07:40:12 +0000 (09:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 3 Sep 2018 14:50:32 +0000 (16:50 +0200)
commit28c11b0f798c6727355bd44603b16bb04e3a044d
tree50c9c6f9fe9060c2477b61842d6a8c0cfead1268
parent60c1f89241d49bacf71035470684a8d7b4bb46ea
x86/xen: Move pv irq related functions under CONFIG_XEN_PV umbrella

All functions in arch/x86/xen/irq.c and arch/x86/xen/xen-asm*.S are
specific to PV guests. Include them in the kernel with CONFIG_XEN_PV only.

Make the PV specific code in arch/x86/entry/entry_*.S dependent on
CONFIG_XEN_PV instead of CONFIG_XEN.

The HVM specific code should depend on CONFIG_XEN_PVHVM.

While at it reformat the Makefile to make it more readable.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: xen-devel@lists.xenproject.org
Cc: virtualization@lists.linux-foundation.org
Cc: akataria@vmware.com
Cc: rusty@rustcorp.com.au
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/20180828074026.820-2-jgross@suse.com
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S
arch/x86/xen/Makefile
include/xen/events.h