Searched hist:c4cdfb70e19b10d5a9ddab156d7c55eff0bcbbb4 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/include/kernel/ |
| H A D | spinlock.h | c4cdfb70e19b10d5a9ddab156d7c55eff0bcbbb4 Wed Mar 06 18:13:16 UTC 2024 Jens Wiklander <jens.wiklander@linaro.org> core: add __must_check attribute to cpu_spin_lock_xsave()
cpu_spin_lock_xsave() masks exceptions, takes the spinlock and returns previous exception state to be restored by cpu_spin_unlock_xrestore(). The previously returned exception state must always be supplied so add the __must_check attribute to cpu_spin_lock_xsave() and its debug variants.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
|