projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bd607
)
[PATCH] s390: fix typo in stop_hz_timer.
author
Martin Schwidefsky
<
[email protected]
>
Tue, 23 May 2006 07:22:42 +0000
(09:22 +0200)
committer
Linus Torvalds
<
[email protected]
>
Thu, 25 May 2006 19:09:55 +0000
(12:09 -0700)
Add missing parentheses for type cast to u64.
Signed-off-by: Martin Schwidefsky <
[email protected]
>
Cc: Dave Jones <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/s390/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/time.c
b/arch/s390/kernel/time.c
index ce19ad4e92ec26bc2e6bf4c7a2d019a97c414529..2a6c6efb68653db8880853d09648d86f21af60b9 100644
(file)
--- 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. */