From: Olaf Hering Subject: [PATCH] efi: include irq.h to fix compile error in runtime.c Date: Fri, 15 Jul 2011 18:15:48 +0200 Message-ID: <09b7cd5e223747eb6caf.1310746548@probook.site> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Olaf Hering # 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 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 #include #include +#include DEFINE_XEN_GUEST_HANDLE(CHAR16);