diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-24 17:08:29 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-08-29 13:42:20 +0300 |
commit | 1d8f574708a3fb6f18c85486d0c5217df893c0cf (patch) | |
tree | ed4ddd0ac3cfb2f14206a832d3ddf265b2f0bcbe /.clang-format | |
parent | afce0cc9ad8aa510650e781a51e43c26e2a34cf6 (diff) | |
download | linux-1d8f574708a3fb6f18c85486d0c5217df893c0cf.tar.xz |
arm/arm64: smccc-1.1: Make return values unsigned long
An unfortunate consequence of having a strong typing for the input
values to the SMC call is that it also affects the type of the
return values, limiting r0 to 32 bits and r{1,2,3} to whatever
was passed as an input.
Let's turn everything into "unsigned long", which satisfies the
requirements of both architectures, and allows for the full
range of return values.
Reported-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions