1 This is an incomplete proof of concept that I applied to be able to
2 build a 64 bit kernel with GCC-4.4. It doesn't handle the 32 bit case
7 Signed-off-by: David Daney <ddaney@caviumnetworks.com>
9 arch/mips/include/asm/compiler.h | 7 +++++++
10 2 files changed, 11 insertions(+), 0 deletions(-)
12 --- a/arch/mips/include/asm/compiler.h
13 +++ b/arch/mips/include/asm/compiler.h
15 #define GCC_REG_ACCUM "accum"
18 +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
19 +#define GCC_NO_H_CONSTRAINT
21 +typedef unsigned int uint128_t __attribute__((mode(TI)));
25 #endif /* _ASM_COMPILER_H */