projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc4840
)
Better gcc error message if GUEST_PAGING_LEVELS is undefined.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:36:10 +0000
(17:36 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:36:10 +0000
(17:36 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
xen/include/asm-x86/guest_pt.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/guest_pt.h
b/xen/include/asm-x86/guest_pt.h
index 16a8b759bfd503ccf2bbcfa391a1913027be2cba..dca50443000f55e6b1689dd6ad4377b6831981c4 100644
(file)
--- a/
xen/include/asm-x86/guest_pt.h
+++ b/
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"