]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS Kprobes: Deny probes on ll/sc instructions
authorManeesh Soni <manesoni@cisco.com>
Tue, 8 Nov 2011 11:35:35 +0000 (17:05 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Nov 2011 23:14:15 +0000 (23:14 +0000)
commitf5fe893adc136ad42dfdb8bc5dbdb1cd0cfa2479
tree6abc504f52a677342a3112878ed5ab9599b33c43
parent0583f4d9e6ebb87774eb0ce801bf05c3dd398c01
MIPS Kprobes: Deny probes on ll/sc instructions

As ll/sc instruction are for atomic read-modify-write operations, allowing
probes on top of these insturctions is a bad idea.

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Maneesh Soni <manesoni@cisco.com>
Cc: David Daney <david.daney@cavium.com>
Cc: ananth@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2912/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/kprobes.c