From 7ab0eea6cb3912babd327e5cac755608afafd649 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 30 Mar 2012 11:29:38 +0200 Subject: [PATCH] microblaze: Add missing headers caused by disintegration asm/system.h It should be the part of patch "Disintegrate asm/system.h for Microblaze" (sha1: 0296b288e8727fdb89fc7986c4e8c16d8e08366c) Signed-off-by: Michal Simek --- arch/microblaze/include/asm/cmpxchg.h | 2 ++ arch/microblaze/kernel/unwind.c | 1 + 2 files changed, 3 insertions(+) diff --git a/arch/microblaze/include/asm/cmpxchg.h b/arch/microblaze/include/asm/cmpxchg.h index 0094859abd9b3..538afc0ab9f3d 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 + void __bad_xchg(volatile void *ptr, int size); 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 9781a528cfc91..6be4ae3c33514 100644 --- a/arch/microblaze/kernel/unwind.c +++ b/arch/microblaze/kernel/unwind.c @@ -24,6 +24,7 @@ #include #include #include +#include struct stack_trace; -- 2.39.5