lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches / 006-gcc4_inline_fix.patch
index e95663e..2c147b5 100644 (file)
@@ -1,6 +1,8 @@
---- linux-2.6.15.1.old/include/asm-mips/system.h       2006-01-28 15:02:54.481032280 +0100
-+++ linux-2.6.15.1.dev/include/asm-mips/system.h       2006-01-28 14:47:51.634285848 +0100
-@@ -273,7 +273,7 @@
+Index: linux-2.6.21.7/include/asm-mips/system.h
+===================================================================
+--- linux-2.6.21.7.orig/include/asm-mips/system.h
++++ linux-2.6.21.7/include/asm-mips/system.h
+@@ -188,7 +188,7 @@ extern __u64 __xchg_u64_unsupported_on_3
     if something tries to do an invalid xchg().  */
  extern void __xchg_called_with_bad_pointer(void);
  
     if something tries to do an invalid xchg().  */
  extern void __xchg_called_with_bad_pointer(void);
  
@@ -8,4 +10,4 @@
 +static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
  {
        switch (size) {
 +static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
  {
        switch (size) {
-               case 4:
+       case 4:
This page took 0.026878 seconds and 4 git commands to generate.