summaryrefslogtreecommitdiff
path: root/kernel/time/tick-internal.h
diff options
context:
space:
mode:
authorJon Medhurst (Tixy) <jon.medhurst@linaro.org>2011-10-19 10:47:14 +0100
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-10-19 07:48:53 -0400
commited569f46a07bb2089138292df8faa8e3d583b577 (patch)
tree6b4fe1df9ba040a66a024ed98fa321e16cdb2bd7 /kernel/time/tick-internal.h
parent30ad23712ecc22a4d026a4b6af21ac65c303325e (diff)
ARM: kprobes: Fix build error in test code
When compiling kprobes-test-thumb.c an error like below may occur: /tmp/ccKcuJcG.s:19179: Error: offset out of range This is caused by the compiler underestimating the size of the inline assembler instructions containing ".space 0x1000" and failing to spill the literal pool in time to prevent the generation of PC relative load instruction with invalid offsets. The fix implemented by this patch is to replace a single large .space directive by a number of 4 byte .space's. This requires splitting the macros which generate test cases for branch instructions into two forms: one with, and one without support for inserting extra code between branch and target. Signed-off-by: Jon Medhurst <jon.medhurst@linaro.org> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'kernel/time/tick-internal.h')
0 files changed, 0 insertions, 0 deletions