summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/cmpxchg-irq.h
diff options
context:
space:
mode:
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 43049ec0554b..bd11f630414a 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;