summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-02-02 10:47:31 +0300
committerKumar Gala <galak@kernel.crashing.org>2008-03-07 16:56:54 -0600
commit1757f2d12dce775982aaa006bce1cf4f7ce90111 (patch)
tree068d45767a864ad383ece702fbcbcf3cd2e2752e /include/asm-ppc
parent3e0d65bf6d5b464949b749a8da7977f6b197d301 (diff)
downloadtalos-op-linux-1757f2d12dce775982aaa006bce1cf4f7ce90111.tar.gz
talos-op-linux-1757f2d12dce775982aaa006bce1cf4f7ce90111.zip
[PPC] 8xx: swap bug-fix
This makes swap routines operate correctly on the ppc_8xx based machines. Recent kernel's size makes swap feature very important on low-memory platfor those are actually non-operable without it. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/pgtable.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-ppc/pgtable.h b/include/asm-ppc/pgtable.h
index 69347bdbb401..70435d32129a 100644
--- a/include/asm-ppc/pgtable.h
+++ b/include/asm-ppc/pgtable.h
@@ -299,14 +299,6 @@ extern unsigned long ioremap_bot, ioremap_base;
#define _PMD_PAGE_MASK 0x000c
#define _PMD_PAGE_8M 0x000c
-/*
- * The 8xx TLB miss handler allegedly sets _PAGE_ACCESSED in the PTE
- * for an address even if _PAGE_PRESENT is not set, as a performance
- * optimization. This is a bug if you ever want to use swap unless
- * _PAGE_ACCESSED is 2, which it isn't, or unless you have 8xx-specific
- * definitions for __swp_entry etc. below, which would be gross.
- * -- paulus
- */
#define _PTE_NONE_MASK _PAGE_ACCESSED
#else /* CONFIG_6xx */
OpenPOWER on IntegriCloud