diff options
author | gonzo <gonzo@FreeBSD.org> | 2015-10-29 22:12:03 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2015-10-29 22:12:03 +0000 |
commit | caa2a6f36aa221602162cf3c48c71b51f3b3b2dd (patch) | |
tree | 570438c15f4b98ddded8fdebc0770cea96d5998d /lib/libc | |
parent | 9278a0880b0cf18e808f99a2a582b3a2f6971a7b (diff) | |
download | FreeBSD-src-caa2a6f36aa221602162cf3c48c71b51f3b3b2dd.zip FreeBSD-src-caa2a6f36aa221602162cf3c48c71b51f3b3b2dd.tar.gz |
Fix LEAVE_HYP macro: spsr is not guaranteed to contain valid value at this
point, e.g. on RaspberryPi 2 when control is passed from loader to kernel
it contains garbage. So we use cpsr as a base for new cpsr value: if we
have reached this point it means current value is OK
Reviewed by: andrew
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions