patch-2.4.22 linux-2.4.22/arch/m68k/mm/motorola.c
Next file: linux-2.4.22/arch/mips/Makefile
Previous file: linux-2.4.22/arch/m68k/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/m68k/mm/motorola.c
- Orig date:
2001-04-06 10:42:48.000000000 -0700
diff -urN linux-2.4.21/arch/m68k/mm/motorola.c linux-2.4.22/arch/m68k/mm/motorola.c
@@ -226,18 +226,6 @@
for (i = 0; i < 16; i++)
pgprot_val(protection_map[i]) |= _PAGE_CACHE040;
}
- /* Fix the PAGE_NONE value. */
- if (CPU_IS_040_OR_060) {
- /* On the 680[46]0 we can use the _PAGE_SUPER bit. */
- pgprot_val(protection_map[0]) |= _PAGE_SUPER;
- pgprot_val(protection_map[VM_SHARED]) |= _PAGE_SUPER;
- } else {
- /* Otherwise we must fake it. */
- pgprot_val(protection_map[0]) &= ~_PAGE_PRESENT;
- pgprot_val(protection_map[0]) |= _PAGE_FAKE_SUPER;
- pgprot_val(protection_map[VM_SHARED]) &= ~_PAGE_PRESENT;
- pgprot_val(protection_map[VM_SHARED]) |= _PAGE_FAKE_SUPER;
- }
/*
* Map the physical memory available into the kernel virtual
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)