From 267d6ee716e53ba5398436121a01dde4d340550f Mon Sep 17 00:00:00 2001
From: marta <marta@8c455092-636d-4788-adf5-e71def0336e8>
Date: Mon, 3 May 2010 14:10:12 +0000
Subject: [PATCH] Fix compilation on 64bit.

---
 dummynet2/missing.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

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"
-- 
2.47.0