diff options
author | Mark Salter <msalter@redhat.com> | 2013-04-09 15:35:46 -0400 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2013-04-09 15:35:46 -0400 |
commit | f934af05cb1bf20558542185299394a69060b829 (patch) | |
tree | c1d2c18ae43895bcec30e25411b2c2e5bf2dbe5e /block/compat_ioctl.c | |
parent | 31880c37c11e28cb81c70757e38392b42e695dc6 (diff) | |
download | blackbird-op-linux-f934af05cb1bf20558542185299394a69060b829.tar.gz blackbird-op-linux-f934af05cb1bf20558542185299394a69060b829.zip |
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: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions