Fix compilation on 64bit.
authormarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 3 May 2010 14:10:12 +0000 (14:10 +0000)
committermarta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Mon, 3 May 2010 14:10:12 +0000 (14:10 +0000)
dummynet2/missing.h

index cb2fa48..bf72a95 100644 (file)
@@ -484,12 +484,7 @@ struct sock *tcp_v4_lookup(u32 saddr, u16 sport, u32 daddr, u16 dport, int dif);
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
 typedef unsigned long uintptr_t;
 
-#ifdef MIPSEL
-static inline unsigned long __fls (unsigned long word)
-{
-       return word;
-}
-#else
+#ifdef __i386__
 static inline unsigned long __fls(unsigned long word)
 {
         asm("bsr %1,%0"