]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
add memory barrier to arch_local_irq_restore
authorMark Salter <msalter@redhat.com>
Tue, 9 Apr 2013 19:35:46 +0000 (15:35 -0400)
committerMark Salter <msalter@redhat.com>
Tue, 9 Apr 2013 19:35:46 +0000 (15:35 -0400)
commitf934af05cb1bf20558542185299394a69060b829
treec1d2c18ae43895bcec30e25411b2c2e5bf2dbe5e
parent31880c37c11e28cb81c70757e38392b42e695dc6
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>
arch/c6x/include/asm/irqflags.h