X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=dummynet2%2Fmissing.h;fp=dummynet2%2Fmissing.h;h=bf72a95c1934af045a33ec4326e4d94897cc3a2c;hb=267d6ee716e53ba5398436121a01dde4d340550f;hp=cb2fa482ebaca5936a50bc688240fcc5acb5667a;hpb=f391cca6d44040bc2f472b45c022d7f6def117da;p=ipfw.git 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"