summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/cmpxchg-irq.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-03-28 17:30:03 (GMT)
committerDavid Howells <dhowells@redhat.com>2012-03-28 17:30:03 (GMT)
commite839ca528718e68cad32a307dc9aabf01ef3eb05 (patch)
tree5ceb6ece0688455f7205739b71e4b6e04afd2988 /arch/sh/include/asm/cmpxchg-irq.h
parent4eb14db4440febb7e560eb8ab2c099bc6e11a0ac (diff)
downloadlinux-fsl-qoriq-e839ca528718e68cad32a307dc9aabf01ef3eb05.tar.xz
Disintegrate asm/system.h for SH
Disintegrate asm/system.h for SH. Signed-off-by: David Howells <dhowells@redhat.com> cc: linux-sh@vger.kernel.org
Diffstat (limited to 'arch/sh/include/asm/cmpxchg-irq.h')
-rw-r--r--arch/sh/include/asm/cmpxchg-irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/include/asm/cmpxchg-irq.h b/arch/sh/include/asm/cmpxchg-irq.h
index 43049ec..bd11f63 100644
--- a/arch/sh/include/asm/cmpxchg-irq.h
+++ b/arch/sh/include/asm/cmpxchg-irq.h
@@ -1,6 +1,8 @@
#ifndef __ASM_SH_CMPXCHG_IRQ_H
#define __ASM_SH_CMPXCHG_IRQ_H
+#include <linux/irqflags.h>
+
static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val)
{
unsigned long flags, retval;