powerpc/8xx: Don't touch ACCESSED when no SWAP.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 2 Mar 2010 05:37:11 +0000 (05:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Apr 2010 08:00:33 +0000 (18:00 +1000)
commitd069cb4373fe0d451357c4d3769623a7564dfa9f
treeab5acf3a31b79d86d5b57bfeac72889863f4b656
parent4afb0be7ccda0ca551cc37572bab74ba4a3c18dd
powerpc/8xx: Don't touch ACCESSED when no SWAP.

Only the swap function cares about the ACCESSED bit in
the pte. Do not waste cycles updateting ACCESSED when swap
is not compiled into the kernel.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_8xx.S