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)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 2 Aug 2012 22:48:24 +0000 (00:48 +0200)
commit9e2760d18b3cf179534bbc27692c84879c61b97c
tree2b2b308f8ff8db41b3ecec941f3f5caf1aac62e8
parent1525e06e4414dbe053ea10cbd8cc03bb150e8e27
m68k: Make sys_atomic_cmpxchg_32 work on classic m68k

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>
Cc: stable@vger.kernel.org
arch/m68k/kernel/sys_m68k.c