time: Explicitly use u32 instead of int for shift values
authorJohn Stultz <john.stultz@linaro.org>
Fri, 13 Jul 2012 05:21:52 +0000 (01:21 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 15 Jul 2012 08:39:05 +0000 (10:39 +0200)
commitfee84c43e6afc42295ae8058cbbef9ea5633926c
tree4cbc2c945aee74e15e1a08bc86a66c697169b55f
parent42e71e81f5bb5125ca7c194b5ccf1c93511ff8fb
time: Explicitly use u32 instead of int for shift values

Ingo noted that using a u32 instead of int for shift values
would be better to make sure the compiler doesn't unnecessarily
use complex signed arithmetic.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Link: http://lkml.kernel.org/r/1342156917-25092-4-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/timekeeping.c