Fix compilation on 64bit.
[ipfw.git] / 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"