Browse Source

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>
Michal Simek 13 years ago
parent
commit
90c0d80daa
2 changed files with 3 additions and 0 deletions
  1. 2 0
      arch/microblaze/include/asm/cmpxchg.h
  2. 1 0
      arch/microblaze/kernel/unwind.c

+ 2 - 0
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,

+ 1 - 0
arch/microblaze/kernel/unwind.c

@@ -24,6 +24,7 @@
 #include <asm/sections.h>
 #include <asm/exceptions.h>
 #include <asm/unwind.h>
+#include <asm/switch_to.h>
 
 struct stack_trace;