Re: [PATCH 00 of 10] x86: unify asm/pgtable.h

From: Ingo Molnar
Date: Tue Jan 08 2008 - 18:45:19 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> it's one of these patches:
>
> Subject: x86: move all asm/pgtable constants into one place
> Subject: x86: avoid name conflict for Voyager leave_mm
> Subject: x86/pgtable: unify pagetable accessors

it's the first one that causes the crash.

reviewed it carefully and found the bug below. Checking now whether it
fixes the crash.

Ingo

---
include/asm-x86/pgtable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-x86.q/include/asm-x86/pgtable.h
===================================================================
--- linux-x86.q.orig/include/asm-x86/pgtable.h
+++ linux-x86.q/include/asm-x86/pgtable.h
@@ -68,7 +68,7 @@ extern unsigned long long __PAGE_KERNEL,
#endif /* __ASSEMBLER__ */
#else
#define __PAGE_KERNEL_EXEC \
- (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
+ (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
#define __PAGE_KERNEL (__PAGE_KERNEL_EXEC | _PAGE_NX)
#endif


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/