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

[Xen-changelog] [xen-unstable] Better gcc error message if GUEST_PAGING_LEVELS is undefined.



# 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


 


Rackspace

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