projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f161e0
)
s390/time: use CLOCKSOURCE_MASK
author
Heiko Carstens
<hca@linux.ibm.com>
Mon, 20 Jul 2020 12:15:02 +0000
(14:15 +0200)
committer
Heiko Carstens
<hca@linux.ibm.com>
Wed, 22 Jul 2020 15:02:04 +0000
(17:02 +0200)
Make use of CLOCKSOURCE_MASK instead of open-coding it.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/time.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/time.c
b/arch/s390/kernel/time.c
index
700127b
..
3170596
100644
(file)
--- a/
arch/s390/kernel/time.c
+++ b/
arch/s390/kernel/time.c
@@
-253,7
+253,7
@@
static struct clocksource clocksource_tod = {
.name = "tod",
.rating = 400,
.read = read_tod_clock,
- .mask =
-1ULL
,
+ .mask =
CLOCKSOURCE_MASK(64)
,
.mult = 1000,
.shift = 12,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,