1
From 49fa9881b2358e390e9e9466ddde74e995927efa Mon Sep 17 00:00:00 2001
2
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
3
Date: Mon, 3 Jun 2013 15:38:48 +0000
4
Subject: [PATCH] xen: simplify xen_enabled
6
No need for preprocessor conditionals in xen_enabled: xen_allowed is
9
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
10
CC: qemu-stable@nongnu.org
12
include/hw/xen/xen.h | 4 ----
13
1 file changed, 4 deletions(-)
15
diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h
16
index 7451c5a..b42b0fd 100644
17
--- a/include/hw/xen/xen.h
18
+++ b/include/hw/xen/xen.h
19
@@ -25,11 +25,7 @@ extern bool xen_allowed;
21
static inline bool xen_enabled(void)
23
-#if defined(CONFIG_XEN_BACKEND) && defined(CONFIG_XEN)
30
int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num);