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 0094859abd9b3c7cab1cb9a3a037b2a589b8d6c8..538afc0ab9f3d60f15d70c1a9ec53394c429475c 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 9781a528cfc9179c3c50c2f457fc62db54131b8b..6be4ae3c335140a0173dc0db06bab4dcf86f896d 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;