From: Jon Medhurst Date: Fri, 8 Apr 2011 14:32:55 +0000 (+0100) Subject: ARM: kprobes: Reject probing of LDR/STR instructions which update PC unpredictably X-Git-Tag: v2.6.39-rc6~9^2~2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54823accfcfc715e9e757a621afb40dabc01d033;p=pandora-kernel.git ARM: kprobes: Reject probing of LDR/STR instructions which update PC unpredictably Using PC as an base register with writeback is UNPREDICTABLE, as is non word-sized loads or stores of PC. (We only really care about preventing loads to PC but it keeps the code simpler if we also exclude stores.) Signed-off-by: Jon Medhurst Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed