xen: move do_nmi_op and make it x86 only
authorWei Liu <wei.liu2@citrix.com>
Mon, 26 Jun 2017 14:20:35 +0000 (15:20 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Jun 2017 10:56:52 +0000 (11:56 +0100)
commit0e97a5b6f932f4dab3a8cedaf651fe62f6cd533d
treefe76d33ec0194786cbe8fec3f34a69b046802534
parentfd74631103427ca28e9b337b35dfd4330101357b
xen: move do_nmi_op and make it x86 only

Since ARM doesn't need {compat,do}_nmi_op, move the hypercall handlers
from common/kernel.c to pv/callback.c. Drop the stubs in ARM. Delete
the common and ARM nmi.h and adjust header inclusions in various
files.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/x86/nmi.c
xen/arch/x86/oprofile/nmi_int.c
xen/arch/x86/pv/callback.c
xen/arch/x86/traps.c
xen/arch/x86/x86_64/traps.c
xen/common/compat/kernel.c
xen/common/kernel.c
xen/include/asm-arm/nmi.h [deleted file]
xen/include/xen/nmi.h [deleted file]