aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/nohash/32/pte-8xx.h
diff options
context:
space:
mode:
authorGravatar Christophe Leroy <christophe.leroy@c-s.fr> 2018-01-12 13:45:25 +0100
committerGravatar Michael Ellerman <mpe@ellerman.id.au> 2018-01-16 23:47:13 +1100
commit5f356497c38448874f2d491cd214e9c283f5592d (patch)
treee28807f19159c48b88ad504788b7f294b857a0f7 /arch/powerpc/include/asm/nohash/32/pte-8xx.h
parentpowerpc/8xx: Only perform perf counting when perf is in use. (diff)
downloadlinux-5f356497c38448874f2d491cd214e9c283f5592d.tar.gz
linux-5f356497c38448874f2d491cd214e9c283f5592d.tar.bz2
linux-5f356497c38448874f2d491cd214e9c283f5592d.zip
powerpc/8xx: remove unused _PAGE_WRITETHRU
_PAGE_WRITETHRU is only used in: * AMIGA_Z2RAM block driver which is never activated on powerPC * Video/FB driver which is for PPC_PMAC Therefore, no need to spend time in 8xx TLB miss handlers for handling it. And by removing it, we free up bit 20 which then avoids having to clear it on each TLB miss. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/nohash/32/pte-8xx.h')
-rw-r--r--arch/powerpc/include/asm/nohash/32/pte-8xx.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/nohash/32/pte-8xx.h b/arch/powerpc/include/asm/nohash/32/pte-8xx.h
index 6dc0180fd5c7..19a5ecaef265 100644
--- a/arch/powerpc/include/asm/nohash/32/pte-8xx.h
+++ b/arch/powerpc/include/asm/nohash/32/pte-8xx.h
@@ -41,8 +41,7 @@
#define _PAGE_GUARDED 0x0010 /* Copied to L1 G entry in DTLB */
#define _PAGE_USER 0x0020 /* Copied to L1 APG lsb */
#define _PAGE_EXEC 0x0040 /* Copied to L1 APG */
-#define _PAGE_WRITETHRU 0x0080 /* software: caching is write through */
-#define _PAGE_ACCESSED 0x0800 /* software: page referenced */
+#define _PAGE_ACCESSED 0x0080 /* software: page referenced */
#define _PAGE_RO 0x0600 /* Supervisor RO, User no access */