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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:25:13 +0000 (00:25 +0100)
commit56c5dc342e25deddf6fdfbed82a1b9d9bc118113
tree909459d4467be481efa43353ae3cd81cf98aa0f7
parent922c97919db25e0950d180affa68d52af087a161
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: Ben Hutchings <ben@decadent.org.uk>
arch/m68k/kernel/sys_m68k.c