summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-10-07 02:11:14 +0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-04 19:47:24 +0300
commit1ccbf5344c3daef046d2323190cc6807c44f1917 (patch)
tree0c080e1c478a7cd5b67e5ec0af4d9ca97dbcf348 /drivers/block
parent9a08f7d3506019e3833cd4394ca0d7da0ae3689f (diff)
downloadlinux-1ccbf5344c3daef046d2323190cc6807c44f1917.tar.xz
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/block')
-rw-r--r--drivers/block/xen-blkfront.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index b8578bb3f4c9..05a31e55d278 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -42,6 +42,7 @@
#include <linux/module.h>
#include <linux/scatterlist.h>
+#include <xen/xen.h>
#include <xen/xenbus.h>
#include <xen/grant_table.h>
#include <xen/events.h>