commit | d9118c87d21ee799058a55eeae84d392ae887c91 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Apr 03 19:38:06 2017 +0100 |
committer | Christoffer Dall <cdall@linaro.org> | Sun Apr 09 07:49:36 2017 -0700 |
tree | 6e8afb42ef2aaec6102052e87cc76142bb065266 | |
parent | af42f20480bf13d9dbf099ccca65f3de8c44fcaf [diff] |
ARM: hyp-stub: Zero r0 on successful stub handling We now return HVC_STUB_ERR when a stub hypercall fails, but we leave whatever was in r0 on success. Zeroing it on return seems like a good idea. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>