1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 15:05:12 +01:00
openwrt/target/linux/generic-2.6/patches-2.6.26/006-gcc4_inline_fix.patch
Imre Kaloz 7cce2d8fc3 add generic 2.6.26 patches/files
SVN-Revision: 11323
2008-06-02 08:22:56 +00:00

12 lines
397 B
Diff

--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -185,7 +185,7 @@
if something tries to do an invalid xchg(). */
extern void __xchg_called_with_bad_pointer(void);
-static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
+static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
{
switch (size) {
case 4: