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 14:58:10 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-12-09 11:40:28 +1100
commitc8c06f5a0dde0fed260c54d550962187f266ed0d (patch)
treef9fb794ebe4f9ebf0b32a8aabe53c99f275d7cc8 /arch/powerpc/include/asm/pte-hash64.h
parent92c08a0d522c7e62c01a63e42597f0c2b02c4245 (diff)
downloadop-kernel-dev-c8c06f5a0dde0fed260c54d550962187f266ed0d.zip
op-kernel-dev-c8c06f5a0dde0fed260c54d550962187f266ed0d.tar.gz
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 0419eeb..55aea0c 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 */
OpenPOWER on IntegriCloud