diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-04 17:08:28 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-05 08:05:23 +0200 |
commit | 636802ef96eebe279b22ad9f9dacfe29291e45c7 (patch) | |
tree | aedbdd51b2558d9badd12cb68e5ecc4ed5823474 /drivers/crypto | |
parent | powerpc: Make sure IPI handlers see data written by IPI senders (diff) | |
download | linux-636802ef96eebe279b22ad9f9dacfe29291e45c7.tar.xz linux-636802ef96eebe279b22ad9f9dacfe29291e45c7.zip |
powerpc: Don't use __put_user() in patch_instruction
patch_instruction() can be called very early on ppc32, when the kernel
isn't yet running at it's linked address. That can cause the !
is_kernel_addr() test in __put_user() to trip and call might_sleep()
which is very bad at that point during boot.
Use a lower level function instead for now, at least until we get to
rework ppc32 boot process to do the code patching later, like ppc64
does.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions