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 <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
This commit is contained in:
Jeremy Fitzhardinge 2009-10-06 15:11:14 -07:00 • committed by Jesse Barnes
commit 1ccbf5344c
15 changed files with 54 additions and 27 deletions

View file

@ -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>