summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/cmpxchg.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-03-30 13:29:38 +0400
committerMichal Simek <monstr@monstr.eu>2012-03-30 14:11:46 +0400
commit90c0d80daa82fa9cbaa85d1a787375b33877d2d4 (patch)
tree04b714fb23ec234e462556e468d32f2b304b7c51 /arch/microblaze/include/asm/cmpxchg.h
parent6a4770e335bd4df0a4577146f76e116ab6e23f40 (diff)
downloadlinux-90c0d80daa82fa9cbaa85d1a787375b33877d2d4.tar.xz
microblaze: Add missing headers caused by disintegration asm/system.h
It should be the part of patch "Disintegrate asm/system.h for Microblaze" (sha1: c40d04df152a1111c5bbcb632278394dabd2b73d) Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/cmpxchg.h')
-rw-r--r--arch/microblaze/include/asm/cmpxchg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/cmpxchg.h b/arch/microblaze/include/asm/cmpxchg.h
index 0094859abd9b..538afc0ab9f3 100644
--- a/arch/microblaze/include/asm/cmpxchg.h
+++ b/arch/microblaze/include/asm/cmpxchg.h
@@ -1,6 +1,8 @@
#ifndef _ASM_MICROBLAZE_CMPXCHG_H
#define _ASM_MICROBLAZE_CMPXCHG_H
+#include <linux/irqflags.h>
+
void __bad_xchg(volatile void *ptr, int size);
static inline unsigned long __xchg(unsigned long x, volatile void *ptr,