diff options
author | Scott Wood <scottwood@freescale.com> | 2015-07-18 19:24:57 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-08-08 04:00:01 (GMT) |
commit | 0d61f0b3e222b588480e2ad1e85bb2ea57561c4b (patch) | |
tree | dfc4af3ad3b0c421b5855218b133a918ed894bc1 /arch/arm/crypto/sha1_glue.c | |
parent | cf184dc2dd33847f4b211b01d8c7ec0526e6c5e4 (diff) | |
download | linux-0d61f0b3e222b588480e2ad1e85bb2ea57561c4b.tar.xz |
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 <scottwood@freescale.com>
Diffstat (limited to 'arch/arm/crypto/sha1_glue.c')
0 files changed, 0 insertions, 0 deletions