[gemini] enable PCI support
[openwrt.git] / target / linux / cavium-octeon / patches / 001-handle_removal_h_constraint.patch
index 53ebffc..b37b4a7 100644 (file)
@@ -10,8 +10,6 @@ Signed-off-by: David Daney <ddaney@caviumnetworks.com>
  arch/mips/include/asm/delay.h    |    4 ++++
  2 files changed, 11 insertions(+), 0 deletions(-)
 
  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 @@
 --- 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 */
 +#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
 --- 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)
                : "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)
        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
-
-
-
This page took 0.031408 seconds and 4 git commands to generate.