[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] efi: include irq.h to fix compile error in runtime.c



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1310804748 -3600
# Node ID 31dd84463eece20bd01c7aee22b52a0c06c67545
# Parent  c5db6d5fdb86831a5da00ea91e87072f242b3c01
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@xxxxxxxxx>
---


diff -r c5db6d5fdb86 -r 31dd84463eec xen/arch/x86/efi/runtime.c
--- a/xen/arch/x86/efi/runtime.c        Sat Jul 16 09:24:43 2011 +0100
+++ b/xen/arch/x86/efi/runtime.c        Sat Jul 16 09:25:48 2011 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.