xen: fix ARM build after 6efa20e4
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 13 Aug 2013 16:57:06 +0000 (16:57 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Aug 2013 14:23:09 +0000 (10:23 -0400)
commit072b2064b88f709c53a83c6ec1f1cb17bf7c0abf
tree6ce97c327a014e60992cea150b3e4211e4273787
parentc65a8370d7354720c74ba0c7427a48000b366bda
xen: fix ARM build after 6efa20e4

The following commit:

commit 6efa20e49b9cb1db1ab66870cc37323474a75a13
Author: Konrad Rzeszutek Wilk <konrad@kernel.org>
Date:   Fri Jul 19 11:51:31 2013 -0400

    xen: Support 64-bit PV guest receiving NMIs

breaks the Xen ARM build:

CC      drivers/xen/events.o
drivers/xen/events.c: In function 'xen_send_IPI_one':
drivers/xen/events.c:1218:6: error: 'XEN_NMI_VECTOR' undeclared (first use in this function)

Simply ifdef the undeclared symbol in the code.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/events.c