aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-03-25 20:09:56 +0200
committerThierry Reding <[email protected]>2018-07-11 14:40:43 +0200
commit4ea7bdc6b5b33427bbd3f41c333e21c1825462a3 (patch)
tree462899170e53bb759833d7dee5547b374255890d /tools/perf/scripts/python/call-graph-from-sql.py
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
ARM: trusted_foundations: do not use naked function
As documented in GCC naked functions should only use basic ASM syntax. The extended ASM or mixture of basic ASM and "C" code is not guaranteed. Currently this works because it was hard coded to follow and check GCC behavior for arguments and register placement. Furthermore with clang using parameters in Extended asm in a naked function is not supported: arch/arm/firmware/trusted_foundations.c:47:10: error: parameter references not allowed in naked functions : "r" (type), "r" (arg1), "r" (arg2) ^ Use a regular function to be more portable. This aligns also with the other SMC call implementations e.g. in qcom_scm-32.c and bcm_kona_smc.c. Cc: Dmitry Osipenko <[email protected]> Cc: Stephen Warren <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions