diff options
| -rw-r--r-- | arch/microblaze/include/asm/cmpxchg.h | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/unwind.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/cmpxchg.h b/arch/microblaze/include/asm/cmpxchg.h index 0094859abd9..538afc0ab9f 100644 --- a/arch/microblaze/include/asm/cmpxchg.h +++ b/arch/microblaze/include/asm/cmpxchg.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef _ASM_MICROBLAZE_CMPXCHG_H | 1 | #ifndef _ASM_MICROBLAZE_CMPXCHG_H |
| 2 | #define _ASM_MICROBLAZE_CMPXCHG_H | 2 | #define _ASM_MICROBLAZE_CMPXCHG_H |
| 3 | 3 | ||
| 4 | #include <linux/irqflags.h> | ||
| 5 | |||
| 4 | void __bad_xchg(volatile void *ptr, int size); | 6 | void __bad_xchg(volatile void *ptr, int size); |
| 5 | 7 | ||
| 6 | static inline unsigned long __xchg(unsigned long x, volatile void *ptr, | 8 | static inline unsigned long __xchg(unsigned long x, volatile void *ptr, |
diff --git a/arch/microblaze/kernel/unwind.c b/arch/microblaze/kernel/unwind.c index 9781a528cfc..6be4ae3c335 100644 --- a/arch/microblaze/kernel/unwind.c +++ b/arch/microblaze/kernel/unwind.c | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include <asm/sections.h> | 24 | #include <asm/sections.h> |
| 25 | #include <asm/exceptions.h> | 25 | #include <asm/exceptions.h> |
| 26 | #include <asm/unwind.h> | 26 | #include <asm/unwind.h> |
| 27 | #include <asm/switch_to.h> | ||
| 27 | 28 | ||
| 28 | struct stack_trace; | 29 | struct stack_trace; |
| 29 | 30 | ||
