summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yportenv.h
diff options
context:
space:
mode:
authorSrinivas, Madan <madans@ti.com>2017-07-17 18:02:02 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-26 15:26:52 (GMT)
commit94f536fc4fd70fc9f3c7442d09698a9b1c82f41b (patch)
tree08bdb3a12e2d168223484f80a29e6b4e8b3cf5fb /fs/yaffs2/yportenv.h
parent1a7c159a8dfa460395ee33e9ed7621a4808ac27a (diff)
downloadu-boot-fsl-qoriq-94f536fc4fd70fc9f3c7442d09698a9b1c82f41b.tar.xz
arm: mach-keystone: Fixes issue with return values in inline assembly
The inline assembly functions in mon.c assume that the caller will check for the return value in r0 according to regular ARM calling conventions. However, this assumption breaks down if the compiler inlines the functions. The caller is then under no obligation to use r0 for the result. To fix this disconnect, we must explicitly move the return value from the smc/bl call to the variable that the function returns. Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'fs/yaffs2/yportenv.h')
0 files changed, 0 insertions, 0 deletions