Skip to content

Commit 58e1571

Browse files
committed
s390/time: use CLOCKSOURCE_MASK
Make use of CLOCKSOURCE_MASK instead of open-coding it. Signed-off-by: Heiko Carstens <[email protected]>
1 parent 3f161e0 commit 58e1571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/kernel/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static struct clocksource clocksource_tod = {
253253
.name = "tod",
254254
.rating = 400,
255255
.read = read_tod_clock,
256-
.mask = -1ULL,
256+
.mask = CLOCKSOURCE_MASK(64),
257257
.mult = 1000,
258258
.shift = 12,
259259
.flags = CLOCK_SOURCE_IS_CONTINUOUS,

0 commit comments

Comments
 (0)