Re: oops in swapper_pg_dir

From: David S. Miller (davem@redhat.com)
Date: Sat Feb 12 2000 - 06:42:24 EST

  • Next message: Khimenko Victor: "Re: Capabilities"

    This fix from 2.3.44-pre8 should cure it:

    diff -u --recursive --new-file v2.3.43/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
    --- v2.3.43/linux/include/asm-i386/pgtable.h Thu Feb 10 17:11:20 2000
    +++ linux/include/asm-i386/pgtable.h Fri Feb 11 13:50:55 2000
    @@ -51,7 +51,7 @@
                             "movl %%cr3, %0; # flush TLB \n" \
                             "movl %0, %%cr3; \n" \
                             "movl %2, %%cr4; # turn PGE back on \n" \
    - : "=r" (tmpreg) \
    + : "=&r" (tmpreg) \
                             : "r" (mmu_cr4_features & ~X86_CR4_PGE), \
                               "r" (mmu_cr4_features) \
                             : "memory"); \

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



    This archive was generated by hypermail 2b29 : Sat Feb 12 2000 - 09:09:12 EST