From: Jon Medhurst Date: Mon, 18 Apr 2011 07:53:54 +0000 (+0100) Subject: ARM: kprobes: Reject probing of all coprocessor instructions X-Git-Tag: v2.6.39-rc6~9^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa1a03b429b3fd5f28e7fdd20ce99ca572bfd236;p=pandora-kernel.git ARM: kprobes: Reject probing of all coprocessor instructions The kernel doesn't currently support VFP or Neon code, and probing of code with CP15 operations is fraught with bad consequences. Therefore we don't need the ability to probe coprocessor instructions and the code to support this can be removed. The removed code also had at least two bugs: - MRC into R15 should set CPSR not trash PC - LDC and STC which use PC as base register needed the address offset by 8 Signed-off-by: Jon Medhurst Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed