sh: kprobes SMP support.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 14 Jun 2010 08:06:10 +0000 (17:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 14 Jun 2010 08:06:10 +0000 (17:06 +0900)
commit57fcfdf9b2bbe8ea47771ffc16c418a20e4173c6
tree23709004b53a40fab173437f398a87801e56da43
parentda28c597996a964a195529595c37f7aacd6dad09
sh: kprobes SMP support.

Presently kprobes support relies on several saved opcode variables for
saving and restoring state, without any specific locking. This is
inherently racy on SMP, and given that we already use per-CPU variables
for everything else, convert these over too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/kprobes.c