Govindarajulu Varadarajan 958c492c55 enic: Fix 64 bit divide on 32bit system
Division of a 32 bit number by a 64 bit number causes the following link
error introduced by
7c2ce6e60f703 "enic: Add support for adaptive interrupt coalescing"

drivers/built-in.o: In function `enic_poll_msix':
enic_main.c:(.text+0x48710a): undefined reference to `__udivdi3'
make: *** [vmlinux] Error 1

Since numerator is 32 bit, convert denominator to 32 bit accordingly.

Fixes: 7c2ce6e60f703 ("enic: Add support for adaptive interrupt coalescing")
Reported-by: Jim Davis <jim.epost@gmail.com>
Cc: Christian Benvenuti <benve@cisco.com>
Cc: Sujith Sankar <ssujith@cisco.com>
Cc: Neel Patel <neepatel@cisco.com>
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-30 15:54:46 -07:00
..
2014-05-16 23:43:56 +02:00
2014-04-05 15:37:40 -07:00
2014-04-08 13:27:40 +02:00
2014-04-29 19:23:22 +02:00
2014-04-16 12:28:47 -07:00
2014-05-07 16:28:52 -07:00
2014-05-21 18:57:25 +09:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-05-13 17:43:20 -04:00
2014-05-17 15:49:40 -07:00
2014-05-03 18:14:28 -04:00
2014-05-13 17:43:20 -04:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00
2014-05-13 11:21:01 +09:00
2014-05-22 04:26:23 +09:00