aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-05-07 22:33:24 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-08 13:30:42 +1000
commite2a8b49e79553bd8ec48f73cead84e6146c09408 (patch)
treee1d01a3e0b1045677e3e04ff5016139f12ce82f6 /arch/powerpc/lib/code-patching.c
parent4fe5cda9f89d0aea8e915b7c96ae34bda4e12e51 (diff)
downloadlinux-e2a8b49e79553bd8ec48f73cead84e6146c09408.tar.gz
linux-e2a8b49e79553bd8ec48f73cead84e6146c09408.tar.bz2
linux-e2a8b49e79553bd8ec48f73cead84e6146c09408.zip
powerpc/uaccess: Don't use "m<>" constraint
The "m<>" constraint breaks compilation with GCC 4.6.x era compilers. The use of the constraint allows the compiler to use update-form instructions, however in practice current compilers never generate those forms for any of the current uses of __put_user_asm_goto(). We anticipate that GCC 4.6 will be declared unsupported for building the kernel in the not too distant future. So for now just switch to the "m" constraint. Fixes: 334710b1496a ("powerpc/uaccess: Implement unsafe_put_user() using 'asm goto'") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Link: https://lore.kernel.org/r/20200507123324.2250024-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions