Skip to contentSkip to conversation

xen: let gcc print root cause on build failure

PATCH New Christoph Egger 1 participant 1 message Apr 12, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: let gcc print root cause on build failure

Hi!

If build fails due to GUEST_PAGING_LEVELS is not defined then let gcc print the root cause.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
xen/include/asm-x86/guest_pt.h +4 -0
diff -r bf74d9c31674 xen/include/asm-x86/guest_pt.h
@@ -29,6 +29,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)
 #define PRI_gfn "05lx"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel