X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9592a6ef10e1c457cf92719cf8ad13545b172543..7d01bddd188fbc4bed66f137c1a1ddda572f234d:/target/linux/octeon/patches/001-handle_removal_h_constraint.patch diff --git a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch index b37b4a757..48c41d74d 100644 --- a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch +++ b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch @@ -12,8 +12,8 @@ Signed-off-by: David Daney --- a/arch/mips/include/asm/compiler.h +++ b/arch/mips/include/asm/compiler.h -@@ -16,4 +16,11 @@ - #define GCC_REG_ACCUM "accum" +@@ -26,4 +26,11 @@ typedef u64 uintx_t; + #endif #endif +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) @@ -26,7 +26,7 @@ Signed-off-by: David Daney #endif /* _ASM_COMPILER_H */ --- a/arch/mips/include/asm/delay.h +++ b/arch/mips/include/asm/delay.h -@@ -83,10 +83,14 @@ static inline void __udelay(unsigned lon +@@ -67,10 +67,14 @@ static inline unsigned long __usecs_to_l : "r" (usecs), "r" (lpj) : GCC_REG_ACCUM); else if (sizeof(long) == 8 && !R4000_WAR)