microblaze: Add missing headers caused by disintegration asm/system.h
authorMichal Simek <monstr@monstr.eu>
Fri, 30 Mar 2012 09:29:38 +0000 (11:29 +0200)
committerMichal Simek <monstr@monstr.eu>
Fri, 30 Mar 2012 10:11:46 +0000 (12:11 +0200)
It should be the part of patch
"Disintegrate asm/system.h for Microblaze"
(sha1: c40d04df152a1111c5bbcb632278394dabd2b73d)

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/cmpxchg.h
arch/microblaze/kernel/unwind.c

index 0094859..538afc0 100644 (file)
@@ -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,
index 9781a52..6be4ae3 100644 (file)
@@ -24,6 +24,7 @@
 #include <asm/sections.h>
 #include <asm/exceptions.h>
 #include <asm/unwind.h>
+#include <asm/switch_to.h>
 
 struct stack_trace;