From: Sarah Sharp Date: Mon, 21 May 2012 15:44:33 +0000 (-0700) Subject: xhci: Fix DIV_ROUND_UP compile error. X-Git-Tag: v3.5-rc1~149^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c88db160a30cccb81303212b256680f2e37e35ae;p=pandora-kernel.git 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 Reported-by: Wu Fengguang --- Reading git-diff-tree failed