summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-05-01 16:28:53 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-05-12 17:46:52 +0200
commitad1d77a38575644b112340fd9115ac21dd533166 (patch)
tree2ba75172ccffd0742d48ad29d7d42b83aa01277a /include
parent[MIPS] msp_hwbutton.c: minor irq handler cleanups (diff)
downloadlinux-ad1d77a38575644b112340fd9115ac21dd533166.tar.xz
linux-ad1d77a38575644b112340fd9115ac21dd533166.zip
[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 aa6b876bbd78..71f5c5cfc58a 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