[PATCH] s390: fix typo in stop_hz_timer.
Add missing parentheses for type cast to u64. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
a8bd60705a
commit
705af30950
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue