Commit 58e15716 authored by Heiko Carstens's avatar Heiko Carstens

s390/time: use CLOCKSOURCE_MASK

Make use of CLOCKSOURCE_MASK instead of open-coding it.
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 3f161e0a
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment