From: Thomas Gleixner Date: Wed, 11 Nov 2009 14:05:25 +0000 (+0000) Subject: clockevents: Use u32 for mult and shift factors X-Git-Tag: v2.6.33-rc1~363^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23af368e9a904f59256c27d371ce223d6cee0430;p=pandora-kernel.git clockevents: Use u32 for mult and shift factors The mult and shift factors of clock events differ in their data type from those of clock sources for no reason. u32 is sufficient for both. shift is always <= 32 and mult is limited to 2^32-1 to avoid 64bit multiplication overflows in the conversion. Preparatory patch for a generic mult/shift factor calculation function. Signed-off-by: Thomas Gleixner Tested-by: Mikael Pettersson Acked-by: Ralf Baechle Acked-by: Linus Walleij Cc: John Stultz LKML-Reference: <20091111134229.725664788@linutronix.de> --- Reading git-diff-tree failed