summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pte-hash64.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-11-18 10:28:10 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-12-09 01:40:28 +0100
commitc8c06f5a0dde0fed260c54d550962187f266ed0d (patch)
treef9fb794ebe4f9ebf0b32a8aabe53c99f275d7cc8 /arch/powerpc/include/asm/pte-hash64.h
parentpowerpc/mm: Use HPTE constants when updating hpte bits (diff)
downloadlinux-c8c06f5a0dde0fed260c54d550962187f266ed0d.tar.xz
linux-c8c06f5a0dde0fed260c54d550962187f266ed0d.zip
powerpc/mm: Free up _PAGE_COHERENCE for numa fault use later
Set memory coherence always on hash64 config. If a platform cannot have memory coherence always set they can infer that from _PAGE_NO_CACHE and _PAGE_WRITETHRU like in lpar. So we dont' really need a separate bit for tracking _PAGE_COHERENCE. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/pte-hash64.h')
-rw-r--r--arch/powerpc/include/asm/pte-hash64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/pte-hash64.h b/arch/powerpc/include/asm/pte-hash64.h
index 0419eeb53274..55aea0caf95e 100644
--- a/arch/powerpc/include/asm/pte-hash64.h
+++ b/arch/powerpc/include/asm/pte-hash64.h
@@ -19,7 +19,7 @@
#define _PAGE_FILE 0x0002 /* (!present only) software: pte holds file offset */
#define _PAGE_EXEC 0x0004 /* No execute on POWER4 and newer (we invert) */
#define _PAGE_GUARDED 0x0008
-#define _PAGE_COHERENT 0x0010 /* M: enforce memory coherence (SMP systems) */
+/* We can derive Memory coherence from _PAGE_NO_CACHE */
#define _PAGE_NO_CACHE 0x0020 /* I: cache inhibit */
#define _PAGE_WRITETHRU 0x0040 /* W: cache write-through */
#define _PAGE_DIRTY 0x0080 /* C: page changed */