From: Christoph Egger Subject: [PATCH] xen: let gcc print root cause on build failure Date: Mon, 12 Apr 2010 16:03:24 +0200 Message-ID: <201004121603.24856.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_sgywLC5Jb5T56g0" 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 --Boundary-00=_sgywLC5Jb5T56g0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! If build fails due to GUEST_PAGING_LEVELS is not defined then let gcc print the root cause. Signed-off-by: Christoph Egger -- ---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 --Boundary-00=_sgywLC5Jb5T56g0 Content-Type: text/x-diff; charset="iso 8859-15"; name="xen_guestpt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_guestpt.diff" diff -r bf74d9c31674 xen/include/asm-x86/guest_pt.h --- a/xen/include/asm-x86/guest_pt.h Mon Apr 12 07:23:21 2010 +0100 +++ b/xen/include/asm-x86/guest_pt.h Mon Apr 12 15:36:41 2010 +0200 @@ -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" --Boundary-00=_sgywLC5Jb5T56g0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_sgywLC5Jb5T56g0--