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-changelog

[Xen-changelog] [xen-unstable] Better gcc error message if GUEST_PAGING_

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Better gcc error message if GUEST_PAGING_LEVELS is undefined.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Apr 2010 14:55:17 -0700
Delivery-date: Tue, 13 Apr 2010 14:59:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271090170 -3600
# Node ID b65a41dc6c6a2e2341ae778d8386a08d502bbfa4
# Parent  5d4038d41fd894f9fc71e64043d559d7c465bd15
Better gcc error message if GUEST_PAGING_LEVELS is undefined.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 xen/include/asm-x86/guest_pt.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 5d4038d41fd8 -r b65a41dc6c6a xen/include/asm-x86/guest_pt.h
--- a/xen/include/asm-x86/guest_pt.h    Mon Apr 12 17:33:47 2010 +0100
+++ b/xen/include/asm-x86/guest_pt.h    Mon Apr 12 17:36:10 2010 +0100
@@ -28,6 +28,10 @@
 
 #ifndef _XEN_ASM_GUEST_PT_H
 #define _XEN_ASM_GUEST_PT_H
+
+#if !defined(GUEST_PAGING_LEVELS)
+#error GUEST_PAGING_LEVELS not defined
+#endif
 
 /* Type of the guest's frame numbers */
 TYPE_SAFE(unsigned long,gfn)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Better gcc error message if GUEST_PAGING_LEVELS is undefined., Xen patchbot-unstable <=