[MIPS] Add empty argument parenthesis to GCC_IMM_ASM
This is to clarify that GCC_IMM_ASM does not take an argument as the context of the macro's invocation seems to imply. As suggested by Maciej W. Rozycki (macro@linux-mips.org). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -38,7 +38,7 @@ static inline void align_mod(const int align, const int mod)
|
|||||||
".endr\n\t"
|
".endr\n\t"
|
||||||
".set pop"
|
".set pop"
|
||||||
:
|
:
|
||||||
: GCC_IMM_ASM(align), GCC_IMM_ASM(mod));
|
: GCC_IMM_ASM() (align), GCC_IMM_ASM() (mod));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void mult_sh_align_mod(long *v1, long *v2, long *w,
|
static inline void mult_sh_align_mod(long *v1, long *v2, long *w,
|
||||||
|
@@ -9,10 +9,10 @@
|
|||||||
#define _ASM_COMPILER_H
|
#define _ASM_COMPILER_H
|
||||||
|
|
||||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
|
||||||
#define GCC_IMM_ASM "n"
|
#define GCC_IMM_ASM() "n"
|
||||||
#define GCC_REG_ACCUM "$0"
|
#define GCC_REG_ACCUM "$0"
|
||||||
#else
|
#else
|
||||||
#define GCC_IMM_ASM "rn"
|
#define GCC_IMM_ASM() "rn"
|
||||||
#define GCC_REG_ACCUM "accum"
|
#define GCC_REG_ACCUM "accum"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user