aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-05-01 15:28:53 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-05-12 16:46:52 +0100
commitad1d77a38575644b112340fd9115ac21dd533166 (patch)
tree2ba75172ccffd0742d48ad29d7d42b83aa01277a /include
parent1c9e919f48a49fda2ff2c607891cc17024e75122 (diff)
downloadkernel_samsung_smdk4412-ad1d77a38575644b112340fd9115ac21dd533166.zip
kernel_samsung_smdk4412-ad1d77a38575644b112340fd9115ac21dd533166.tar.gz
kernel_samsung_smdk4412-ad1d77a38575644b112340fd9115ac21dd533166.tar.bz2
[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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/compiler.h b/include/asm-mips/compiler.h
index aa6b876..71f5c5c 100644
--- a/include/asm-mips/compiler.h
+++ b/include/asm-mips/compiler.h
@@ -9,10 +9,10 @@
#define _ASM_COMPILER_H
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
-#define GCC_IMM_ASM "n"
+#define GCC_IMM_ASM() "n"
#define GCC_REG_ACCUM "$0"
#else
-#define GCC_IMM_ASM "rn"
+#define GCC_IMM_ASM() "rn"
#define GCC_REG_ACCUM "accum"
#endif