aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/efi
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-07-16 09:25:48 +0100
committerOlaf Hering <olaf@aepfle.de>2011-07-16 09:25:48 +0100
commite09331d62685e67092b03f5a3843f88aa80b1df9 (patch)
tree64a7e8f38372547b72081ea34e5618e840800342 /xen/arch/x86/efi
parenta544c9814547a07c980fece60371f4d623929aee (diff)
downloadxen-e09331d62685e67092b03f5a3843f88aa80b1df9.tar.gz
xen-e09331d62685e67092b03f5a3843f88aa80b1df9.tar.bz2
xen-e09331d62685e67092b03f5a3843f88aa80b1df9.zip
efi: include irq.h to fix compile error in runtime.c
runtime.c: In function 'efi_rs_enter': runtime.c:45:5: error: implicit declaration of function 'irq_enter' [-Werror=implicit-function-declaration] runtime.c:45:5: error: nested extern declaration of 'irq_enter' [-Werror=nested-externs] runtime.c: In function 'efi_rs_leave': runtime.c:75:5: error: implicit declaration of function 'irq_exit' [-Werror=implicit-function-declaration] runtime.c:75:5: error: nested extern declaration of 'irq_exit' [-Werror=nested-externs] Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'xen/arch/x86/efi')
-rw-r--r--xen/arch/x86/efi/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/efi/runtime.c b/xen/arch/x86/efi/runtime.c
index 6286b6a1c8..a79e8c6745 100644
--- a/xen/arch/x86/efi/runtime.c
+++ b/xen/arch/x86/efi/runtime.c
@@ -3,6 +3,7 @@
#include <xen/errno.h>
#include <xen/guest_access.h>
#include <xen/time.h>
+#include <xen/irq.h>
DEFINE_XEN_GUEST_HANDLE(CHAR16);