xen: Fix xen_enabled().

Use the "host" CONFIG_ define instead of the "target" one.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Anthony PERARD
2011-07-26 06:43:10 +02:00
committed by Alexander Graf
parent fb4bb2b587
commit 30ab61252b
+1 -1
View File
@@ -24,7 +24,7 @@ extern int xen_allowed;
static inline int xen_enabled(void)
{
#ifdef CONFIG_XEN
#ifdef CONFIG_XEN_BACKEND
return xen_allowed;
#else
return 0;