Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
- arch/powerpc/include/asm/pte-hash64-64k.h | 30 +++++++++++++++++++++++++-----
- 1 file changed, 25 insertions(+), 5 deletions(-)
+ arch/powerpc/include/asm/pte-hash64-64k.h | 32 +++++++++++++++++++++++++-----
+ 1 file changed, 27 insertions(+), 5 deletions(-)
--- a/arch/powerpc/include/asm/pte-hash64-64k.h
+++ b/arch/powerpc/include/asm/pte-hash64-64k.h
-@@ -46,11 +46,31 @@
+@@ -40,17 +40,39 @@
+
+ #ifndef __ASSEMBLY__
+
++#include <asm/system.h> /* for smp_rmb() */
++
+ /*
+ * With 64K pages on hash table, we have a special PTE format that
+ * uses a second "half" of the page table to encode sub-page information
* in order to deal with 64K made of 4K HW pages. Thus we override the
* generic accessors and iterators here
*/