X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/154dbffb39af92e0b869922b286dee063508b5a1..228b814898eac0330f7111e5af23a018227f9513:/target/linux/cavium-octeon/patches/001-handle_removal_h_constraint.patch diff --git a/target/linux/cavium-octeon/patches/001-handle_removal_h_constraint.patch b/target/linux/cavium-octeon/patches/001-handle_removal_h_constraint.patch index 53ebffc8b..b37b4a757 100644 --- a/target/linux/cavium-octeon/patches/001-handle_removal_h_constraint.patch +++ b/target/linux/cavium-octeon/patches/001-handle_removal_h_constraint.patch @@ -10,8 +10,6 @@ Signed-off-by: David Daney arch/mips/include/asm/delay.h | 4 ++++ 2 files changed, 11 insertions(+), 0 deletions(-) -diff --git a/arch/mips/include/asm/compiler.h b/arch/mips/include/asm/compiler.h -index 71f5c5c..1f0954d 100644 --- a/arch/mips/include/asm/compiler.h +++ b/arch/mips/include/asm/compiler.h @@ -16,4 +16,11 @@ @@ -26,11 +24,9 @@ index 71f5c5c..1f0954d 100644 +#endif + #endif /* _ASM_COMPILER_H */ -diff --git a/arch/mips/include/asm/delay.h b/arch/mips/include/asm/delay.h -index b0bccd2..3e467e8 100644 --- a/arch/mips/include/asm/delay.h +++ b/arch/mips/include/asm/delay.h -@@ -83,10 +83,14 @@ static inline void __udelay(unsigned long usecs, unsigned long lpj) +@@ -83,10 +83,14 @@ static inline void __udelay(unsigned lon : "r" (usecs), "r" (lpj) : GCC_REG_ACCUM); else if (sizeof(long) == 8 && !R4000_WAR) @@ -45,8 +41,3 @@ index b0bccd2..3e467e8 100644 else if (sizeof(long) == 8 && R4000_WAR) __asm__("dmultu\t%3, %4\n\tmfhi\t%0" : "=r" (usecs), "=h" (hi), "=l" (lo) --- -1.5.6.5 - - -