projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'iwlwifi-next-for-kalle-2014-12-30' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git]
/
arch
/
mips
/
include
/
asm
/
compiler.h
diff --git
a/arch/mips/include/asm/compiler.h
b/arch/mips/include/asm/compiler.h
index
71f5c5c
..
c73815e
100644
(file)
--- a/
arch/mips/include/asm/compiler.h
+++ b/
arch/mips/include/asm/compiler.h
@@
-16,4
+16,12
@@
#define GCC_REG_ACCUM "accum"
#endif
#define GCC_REG_ACCUM "accum"
#endif
+#ifndef CONFIG_CPU_MICROMIPS
+#define GCC_OFF12_ASM() "R"
+#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9)
+#define GCC_OFF12_ASM() "ZC"
+#else
+#error "microMIPS compilation unsupported with GCC older than 4.9"
+#endif
+
#endif /* _ASM_COMPILER_H */
#endif /* _ASM_COMPILER_H */