From: Jon Medhurst Date: Thu, 7 Jul 2011 18:58:29 +0000 (+0100) Subject: ARM: kprobes: Make str_pc_offset a constant on ARMv7 X-Git-Tag: v3.1-rc1~258^2^2~2^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea490299f7f0412f884a4895bc96211d8d8dbaf;p=pandora-kernel.git ARM: kprobes: Make str_pc_offset a constant on ARMv7 The str_pc_offset value is architecturally defined on ARMv7 onwards so we can make it a compile time constant. This means on Thumb kernels the runtime checking code isn't needed, which saves us from having to fix it to work for Thumb. Signed-off-by: Jon Medhurst Acked-by: Nicolas Pitre --- Reading git-diff-tree failed