From: Martin Schwidefsky Date: Tue, 23 May 2006 07:22:42 +0000 (+0200) Subject: [PATCH] s390: fix typo in stop_hz_timer. X-Git-Tag: MMI-PSA29.97-13-9~49649 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=705af309505681f197f81618440954d10f120dc0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] s390: fix typo in stop_hz_timer. Add missing parentheses for type cast to u64. Signed-off-by: Martin Schwidefsky Cc: Dave Jones Signed-off-by: Linus Torvalds --- diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index ce19ad4e92ec..2a6c6efb6865 100644 --- a/arch/s390/kernel/time.c +++ b/arch/s390/kernel/time.c @@ -272,7 +272,7 @@ static inline void stop_hz_timer(void) next = next_timer_interrupt(); do { seq = read_seqbegin_irqsave(&xtime_lock, flags); - timer = (__u64 next) - (__u64 jiffies) + jiffies_64; + timer = ((__u64) next) - ((__u64) jiffies) + jiffies_64; } while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); todval = -1ULL; /* Be careful about overflows. */