sh: kill big kernel lock
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Sep 2010 19:35:00 +0000 (19:35 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Sep 2010 07:37:56 +0000 (16:37 +0900)
commitd71415e88447f31ec63026e69b64a7e99465b7f4
tree426a7a163380328c051aa36544b9add771720054
parent5d75b3a2476d848a354d939d2b89c36d3394ac59
sh: kill big kernel lock

The only BKL user in arch/sh protects a single bit,
so we can trivially replace it with test_and_set_bit.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ptrace_64.c