summaryrefslogtreecommitdiffstats
path: root/drivers/xen/evtchn.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-10-07 00:11:14 +0200
committerJesse Barnes2009-11-04 17:47:24 +0100
commit1ccbf5344c3daef046d2323190cc6807c44f1917 (patch)
tree0c080e1c478a7cd5b67e5ec0af4d9ca97dbcf348 /drivers/xen/evtchn.c
parentx86/PCI: allow MMCONFIG above 4GB (diff)
downloadkernel-qcow2-linux-1ccbf5344c3daef046d2323190cc6807c44f1917.tar.gz
kernel-qcow2-linux-1ccbf5344c3daef046d2323190cc6807c44f1917.tar.xz
kernel-qcow2-linux-1ccbf5344c3daef046d2323190cc6807c44f1917.zip
xen: move Xen-testing predicates to common header
Move xen_domain and related tests out of asm-x86 to xen/xen.h so they can be included whenever they are necessary. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/xen/evtchn.c')
-rw-r--r--drivers/xen/evtchn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c
index 79bedba44fee..f70a4f4698c5 100644
--- a/drivers/xen/evtchn.c
+++ b/drivers/xen/evtchn.c
@@ -48,6 +48,8 @@
#include <linux/gfp.h>
#include <linux/mutex.h>
#include <linux/cpu.h>
+
+#include <xen/xen.h>
#include <xen/events.h>
#include <xen/evtchn.h>
#include <asm/xen/hypervisor.h>