diff options
| author | Govindarajulu Varadarajan <[email protected]> | 2014-05-26 15:52:43 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-30 15:54:46 -0700 |
| commit | 958c492c55bff6fa0b3430e9824dc83597c88aa6 (patch) | |
| tree | 836e214022fcb670f7350e02284ef407dfcd761f /tools/perf/scripts/python | |
| parent | 484611e53047b55163822bfe60424a55a31775b3 (diff) | |
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 <[email protected]>
Cc: Christian Benvenuti <[email protected]>
Cc: Sujith Sankar <[email protected]>
Cc: Neel Patel <[email protected]>
Signed-off-by: Govindarajulu Varadarajan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions