1 From d55975b74389b2cf1a38732062ff89303940f6e1 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Sat, 29 Jun 2013 11:46:56 +0200
4 Subject: [PATCH 01/10] MIPS: bmips: fix compilation for BMIPS5000
6 Replace the macro names in strings with actual macro invocation.
8 Fixes the following build error:
10 CC arch/mips/kernel/smp-bmips.o
11 {standard input}: Assembler messages:
12 {standard input}:951: Error: Unrecognized opcode `_ssnop'
13 {standard input}:952: Error: Unrecognized opcode `_ssnop'
15 make[6]: *** [arch/mips/kernel/smp-bmips.o] Error 1
17 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
19 arch/mips/include/asm/bmips.h | 28 ++++++++++++++--------------
20 1 file changed, 14 insertions(+), 14 deletions(-)
22 --- a/arch/mips/include/asm/bmips.h
23 +++ b/arch/mips/include/asm/bmips.h
24 @@ -97,15 +97,15 @@ static inline unsigned long bmips_read_z
35 + __stringify(___ssnop) "\n"
36 + __stringify(___ssnop) "\n"
37 + __stringify(___ssnop) "\n"
38 + __stringify(___ssnop) "\n"
39 + __stringify(___ssnop) "\n"
40 + __stringify(___ssnop) "\n"
41 + __stringify(___ssnop) "\n"
44 + __stringify(___ssnop) "\n"
47 : "i" (Index_Load_Tag_S), "r" (ZSCM_REG_BASE + offset)
48 @@ -119,13 +119,13 @@ static inline void bmips_write_zscm_reg(
55 + __stringify(___ssnop) "\n"
56 + __stringify(___ssnop) "\n"
57 + __stringify(___ssnop) "\n"
62 + __stringify(___ssnop) "\n"
63 + __stringify(___ssnop) "\n"
64 + __stringify(___ssnop) "\n"
67 "i" (Index_Store_Tag_S), "r" (ZSCM_REG_BASE + offset)