diff options
author | 2012-05-21 08:44:33 -0700 | |
---|---|---|
committer | 2012-05-21 09:00:43 -0700 | |
commit | c88db160a30cccb81303212b256680f2e37e35ae (patch) | |
tree | b9e0f3f8884fccf8c4793aa43ef3ba428defcfa7 /net/lapb/lapb_in.c | |
parent | xhci: Fix compile with CONFIG_USB_SUSPEND=n (diff) | |
download | linux-dev-c88db160a30cccb81303212b256680f2e37e35ae.tar.xz linux-dev-c88db160a30cccb81303212b256680f2e37e35ae.zip |
xhci: Fix DIV_ROUND_UP compile error.
Fengguang reports that the xHCI driver isn't linked properly on his
machine:
ERROR: "__udivdi3" [drivers/usb/host/xhci-hcd.ko] undefined!
ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined!
ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined!
The driver compiles fine on my 64-bit box (gcc version 4.6.1).
Fengguang thinks it's because the xHCI driver was using DIV_ROUND_UP()
instead of DIV_ROUND_UP_ULL() with arguments that were unsigned long
long variables.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Wu Fengguang <wfg@linux.intel.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions