From: marta Date: Mon, 3 May 2010 14:10:12 +0000 (+0000) Subject: Fix compilation on 64bit. X-Git-Tag: ipfw-0.9-14~1 X-Git-Url: http://git.onelab.eu/?p=ipfw.git;a=commitdiff_plain;h=267d6ee716e53ba5398436121a01dde4d340550f Fix compilation on 64bit. --- diff --git a/dummynet2/missing.h b/dummynet2/missing.h index cb2fa48..bf72a95 100644 --- a/dummynet2/missing.h +++ b/dummynet2/missing.h @@ -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"