efi: include irq.h to fix compile error in runtime.c
PATCH 1/1 efi: include irq.h to fix compile error in runtime.c
# HG changeset patch
# User Olaf Hering <[email protected]>
# 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]
xen/arch/x86/efi/runtime.c +1 -0
@@ -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 );