aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJean Pihet <[email protected]>2011-02-02 16:38:06 +0100
committerRussell King <[email protected]>2011-02-04 14:26:08 +0000
commitb6338bdc8305b27688a7feb8689e4ccfd42f0292 (patch)
tree2854dda3c50899b00cb7b302b06d2ba6fd03cdb2 /tools/perf/util/trace-event-scripting.c
parent5756e9dd0de6d5c307773f8f734c0684b3098fdd (diff)
ARM: 6649/1: omap: use fncpy to copy the PM code functions to SRAM
The new fncpy API is better suited* for copying some code to SRAM at runtime. This patch changes the ad-hoc code to the more generic fncpy API. *: 1. fncpy ensures that the thumb mode bit is propagated, 2. fncpy provides the security of type safety between the original function and the sram function pointer. Tested OK on OMAP3 in low power modes (RET/OFF) using omap2plus_defconfig with !CONFIG_THUMB2_KERNEL. Compile tested on OMAP1/2 using omap1_defconfig. Boot tested on OMAP1 & OMAP2 Tested OK with suspend/resume on OMAP2420/n810 Boots fine on osk5912 and n800 Signed-off-by: Jean Pihet <[email protected]> Acked-by: Kevin Hilman <[email protected]> Acked-by: Tony Lindgren <[email protected]> Reviewed-by: Dave Martin <[email protected]> Tested-by: Kevin Hilman <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions