ARM: kprobes: Make str_pc_offset a constant on ARMv7
authorJon Medhurst <tixy@yxit.co.uk>
Thu, 7 Jul 2011 18:58:29 +0000 (19:58 +0100)
committerTixy <tixy@medhuaa1.miniserver.com>
Wed, 13 Jul 2011 17:32:41 +0000 (17:32 +0000)
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 <tixy@yxit.co.uk>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>

No differences found