]> git.baikalelectronics.ru Git - kernel.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)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 2 Aug 2012 22:48:24 +0000 (00:48 +0200)
commit01d33739e4519fa373000c42fbf1e6735a8cf562
tree2b2b308f8ff8db41b3ecec941f3f5caf1aac62e8
parent74146484150701b88c45f2b8341d4b52305c766a
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