]> git.karo-electronics.de Git - karo-tx-linux.git/commit
m68k: Make sys_atomic_cmpxchg_32 work on classic m68k
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 27 Jul 2012 22:20:34 +0000 (00:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:23:15 +0000 (08:23 -0700)
commit34fbbeb1bd9c5d68d136eeaba9b305bed45417f5
treee43621d55c5cac78dcbd0b139a818268aa39b67f
parentc36bb21c03a24e94c2897d16372b736ab2ebbec6
m68k: Make sys_atomic_cmpxchg_32 work on classic m68k

commit 9e2760d18b3cf179534bbc27692c84879c61b97c upstream.

User space access must always go through uaccess accessors, since on
classic m68k user space and kernel space are completely separate.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Tested-by: Thorsten Glaser <tg@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/m68k/kernel/sys_m68k.c