From: Scott Wood Date: Sat, 18 Jul 2015 19:24:57 +0000 (-0500) Subject: powerpc/booke64: Move mb() to __set_pte_at() with kernel-addr test X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d61f0b3e222b588480e2ad1e85bb2ea57561c4b;p=pandora-kernel.git powerpc/booke64: Move mb() to __set_pte_at() with kernel-addr test map_kernel() doesn't catch all places that create kernel PTEs. In particular, vmalloc() calls set_pte_at() directly. This causes a crash when booting a non-SMP kernel on e6500. Move the sync to __set_pte(), to be executed only for kernel addresses. Signed-off-by: Scott Wood --- Reading git-diff-tree failed