WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] efi: include irq.h to fix compile error in runtime.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] efi: include irq.h to fix compile error in runtime.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 15 Jul 2011 18:15:48 +0200
Delivery-date: Fri, 15 Jul 2011 09:16:36 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1310746553; l=1059; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=hScKCpX+fAB1JHxPAR3+zYEv+BY=; b=kIGbW9OsU+/ldzi3YhJ+D+jP8JwFfnjLMV3ozOE7QQ7RtrrkTy2xOnFOhXFELwK3Gee l3y/J2EpEpCHKBFe7WP/YK2Icu2yQib/PQ0EfZnfoUzz2kSjDaBYfeMf222KBFF/VEp5+ XIUJApyDIWLxJsA8XGMipxVQyXjsaDNoALI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# 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@xxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] efi: include irq.h to fix compile error in runtime.c, Olaf Hering <=