drivers/cpuidle/governors/menu.c: fix undefined reference to `__udivdi3'
commit5787536edf18e33d06e2bf038bfd0910f4def213
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 8 Jan 2010 22:43:08 +0000 (8 14:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 11 Jan 2010 17:34:07 +0000 (11 09:34 -0800)
tree6d1874d02111cebc83fa1a6d1de3dedc0963ff53
parent006b4298f26984d514546fe4e53371761f66b643
drivers/cpuidle/governors/menu.c: fix undefined reference to `__udivdi3'

menu: use proper 64 bit math

The new menu governor is incorrectly doing a 64 bit divide.  Compile
tested only

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/cpuidle/governors/menu.c