git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-i386
/
pgtable-3level-defs.h
diff --git
a/include/asm-i386/pgtable-3level-defs.h
b/include/asm-i386/pgtable-3level-defs.h
index
eb3a1ea
..
1a2f4f3
100644
(file)
--- a/
include/asm-i386/pgtable-3level-defs.h
+++ b/
include/asm-i386/pgtable-3level-defs.h
@@
-1,6
+1,12
@@
#ifndef _I386_PGTABLE_3LEVEL_DEFS_H
#define _I386_PGTABLE_3LEVEL_DEFS_H
#ifndef _I386_PGTABLE_3LEVEL_DEFS_H
#define _I386_PGTABLE_3LEVEL_DEFS_H
+#ifdef CONFIG_XEN
+#define HAVE_SHARED_KERNEL_PMD 0
+#else
+#define HAVE_SHARED_KERNEL_PMD 1
+#endif
+
/*
* PGDIR_SHIFT determines what a top-level page table entry can map
*/
/*
* PGDIR_SHIFT determines what a top-level page table entry can map
*/