Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b7fff536d0ad45c4810f9b99845c707ceadc3afc
Commit:     b7fff536d0ad45c4810f9b99845c707ceadc3afc
Parent:     38472311679d8784c2934d071ddda23d9b3fe264
Author:     Ingo Molnar <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 30 13:32:57 2008 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Jan 30 13:32:57 2008 +0100

    x86: fix pte_modify() bug
    
    fix sign extension bug in PTE_MASK / _PTE_CHG_MASK.
    
    this resolves the following bootup crash on PAE systems:
    
    [   94.710726] init[1]: segfault at 00000004 ip 49471cbb sp bff0c6c0 error 4
    [   94.717764] init[1]: segfault at 00000004 ip 49471cbb sp bff0c6c0 error 4
    [   94.724772] init[1]: segfault at 00000004 ip 49471cbb sp bff0c6c0 error 4
    [   94.731777] init[1]: segfault at 00000004 ip 49471cbb sp bff0c6c0 error 4
    
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 include/asm-x86/page.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h
index 3a00d0d..9192056 100644
--- a/include/asm-x86/page.h
+++ b/include/asm-x86/page.h
@@ -11,7 +11,7 @@
 #ifdef __KERNEL__
 
 #define PHYSICAL_PAGE_MASK     (PAGE_MASK & __PHYSICAL_MASK)
-#define PTE_MASK               PHYSICAL_PAGE_MASK
+#define PTE_MASK               (_AT(long, PHYSICAL_PAGE_MASK))
 
 #define LARGE_PAGE_SIZE                (_AC(1,UL) << PMD_SHIFT)
 #define LARGE_PAGE_MASK                (~(LARGE_PAGE_SIZE-1))
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to