Olaf Hering
2011-Jul-15 16:15 UTC
[Xen-devel] [PATCH] efi: include irq.h to fix compile error in runtime.c
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # Date 1310745658 -7200 # Node ID 09b7cd5e223747eb6caf03310c630bede2189ac4 # Parent fbb448cf5cba5f441ad94f7783a0a1394fd638f9 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> diff -r fbb448cf5cba -r 09b7cd5e2237 xen/arch/x86/efi/runtime.c --- 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); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel