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
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
arch
/
i386
/
mm
/
pageattr.c
diff --git
a/arch/i386/mm/pageattr.c
b/arch/i386/mm/pageattr.c
index
92c3d9f
..
a00267a
100644
(file)
--- a/
arch/i386/mm/pageattr.c
+++ b/
arch/i386/mm/pageattr.c
@@
-85,7
+85,7
@@
static void set_pmd_pte(pte_t *kpte, unsigned long address, pte_t pte)
unsigned long flags;
set_pte_atomic(kpte, pte); /* change init_mm */
- if (
PTRS_PER_PMD > 1
)
+ if (
HAVE_SHARED_KERNEL_PMD
)
return;
spin_lock_irqsave(&pgd_lock, flags);