diff options
author | Bob Liu <lliubbo@gmail.com> | 2012-04-28 11:12:32 +0200 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-05-21 08:54:08 +0200 |
commit | b2286f2b4300711e25743d2f9117dcc02bc2e9b1 (patch) | |
tree | 48359444c5797b5e9f6e5420b74b009cc0f40114 /arch/blackfin/include | |
parent | blackfin: configs: add SMP support back to BF561-EZKIT-SMP_defconfig (diff) | |
download | linux-b2286f2b4300711e25743d2f9117dcc02bc2e9b1.tar.xz linux-b2286f2b4300711e25743d2f9117dcc02bc2e9b1.zip |
blackfin: asm: fix blackfin.h broken
do{...}while makes no sense in __ASSEMBLY__ code paths. now
kernels fail to build:
arch/blackfin/mach-bf561/atomic.S: Assembler messages:
arch/blackfin/mach-bf561/atomic.S:48: Error: syntax error. Input text
was do.
arch/blackfin/mach-bf561/atomic.S:48: Error:
arch/blackfin/mach-bf561/atomic.S:48: Error: syntax error. Input text
was }.
arch/blackfin/mach-bf561/atomic.S:48: Error:
arch/blackfin/mach-bf561/atomic.S:53: Error: syntax error. Input text
was do.
arch/blackfin/mach-bf561/atomic.S:53: Error:
arch/blackfin/mach-bf561/atomic.S:53: Error: syntax error. Input text
was }.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/blackfin.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/blackfin/include/asm/blackfin.h b/arch/blackfin/include/asm/blackfin.h index 7be5368c0512..f111f366d758 100644 --- a/arch/blackfin/include/asm/blackfin.h +++ b/arch/blackfin/include/asm/blackfin.h @@ -63,20 +63,16 @@ static inline void CSYNC(void) #if ANOMALY_05000312 || ANOMALY_05000244 #define SSYNC(scratch) \ -do { \ cli scratch; \ nop; nop; nop; \ SSYNC; \ - sti scratch; \ -} while (0) + sti scratch; #define CSYNC(scratch) \ -do { \ cli scratch; \ nop; nop; nop; \ CSYNC; \ - sti scratch; \ -} while (0) + sti scratch; #else #define SSYNC(scratch) SSYNC; |