Skip to content
Commit f934af05 authored by Mark Salter's avatar Mark Salter
Browse files

add memory barrier to arch_local_irq_restore



arch_local_irq_save() and friends are required to act as compiler
memory barriers. This patch adds a "memory" clobber to the inline
asm code in arch_local_irq_restore() which is used as the building
block for other functions needing to set/clear the interrupt enable
in the CSR register.

Signed-off-by: default avatarMark Salter <msalter@redhat.com>
parent 31880c37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment