summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pte-hash64.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-03-19 19:34:15 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-03-24 13:47:34 +1100
commita033a487f8ae79800a15774cb6565cbbca685fc6 (patch)
treeaca38e1e3d92ac1be2d4d965dd48a8eaa6d14b40 /arch/powerpc/include/asm/pte-hash64.h
parentff7c660092de1f70e156cf95784a4b55556412d9 (diff)
downloadop-kernel-dev-a033a487f8ae79800a15774cb6565cbbca685fc6.zip
op-kernel-dev-a033a487f8ae79800a15774cb6565cbbca685fc6.tar.gz
powerpc/mm: Add option for non-atomic PTE updates to ppc64
ppc32 has it already, add it to ppc64 as a preliminary for adding support for Book3E 64-bit support 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, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/pte-hash64.h b/arch/powerpc/include/asm/pte-hash64.h
index b61b7e4..0419eeb 100644
--- a/arch/powerpc/include/asm/pte-hash64.h
+++ b/arch/powerpc/include/asm/pte-hash64.h
@@ -41,6 +41,8 @@
#define _PTEIDX_SECONDARY 0x8
#define _PTEIDX_GROUP_IX 0x7
+/* Hash table based platforms need atomic updates of the linux PTE */
+#define PTE_ATOMIC_UPDATES 1
#ifdef CONFIG_PPC_64K_PAGES
#include <asm/pte-hash64-64k.h>
OpenPOWER on IntegriCloud