diff options
-rw-r--r-- | arch/mips/kernel/cpu-bugs64.c | 2 | ||||
-rw-r--r-- | include/asm-mips/compiler.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/cpu-bugs64.c b/arch/mips/kernel/cpu-bugs64.c index a1b48af0992f..02b7713cf71c 100644 --- a/arch/mips/kernel/cpu-bugs64.c +++ b/arch/mips/kernel/cpu-bugs64.c | |||
@@ -38,7 +38,7 @@ static inline void align_mod(const int align, const int mod) | |||
38 | ".endr\n\t" | 38 | ".endr\n\t" |
39 | ".set pop" | 39 | ".set pop" |
40 | : | 40 | : |
41 | : GCC_IMM_ASM(align), GCC_IMM_ASM(mod)); | 41 | : GCC_IMM_ASM() (align), GCC_IMM_ASM() (mod)); |
42 | } | 42 | } |
43 | 43 | ||
44 | static inline void mult_sh_align_mod(long *v1, long *v2, long *w, | 44 | static inline void mult_sh_align_mod(long *v1, long *v2, long *w, |
diff --git a/include/asm-mips/compiler.h b/include/asm-mips/compiler.h index aa6b876bbd78..71f5c5cfc58a 100644 --- a/include/asm-mips/compiler.h +++ b/include/asm-mips/compiler.h | |||
@@ -9,10 +9,10 @@ | |||
9 | #define _ASM_COMPILER_H | 9 | #define _ASM_COMPILER_H |
10 | 10 | ||
11 | #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | 11 | #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) |
12 | #define GCC_IMM_ASM "n" | 12 | #define GCC_IMM_ASM() "n" |
13 | #define GCC_REG_ACCUM "$0" | 13 | #define GCC_REG_ACCUM "$0" |
14 | #else | 14 | #else |
15 | #define GCC_IMM_ASM "rn" | 15 | #define GCC_IMM_ASM() "rn" |
16 | #define GCC_REG_ACCUM "accum" | 16 | #define GCC_REG_ACCUM "accum" |
17 | #endif | 17 | #endif |
18 | 18 | ||