From: Heiko Carstens Date: Mon, 20 Jul 2020 12:15:02 +0000 (+0200) Subject: s390/time: use CLOCKSOURCE_MASK X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=58e15716feb562cdba57e99d62c525a1faa37c08;p=linux.git s390/time: use CLOCKSOURCE_MASK Make use of CLOCKSOURCE_MASK instead of open-coding it. Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 700127ba689de..3170596848477 100644 --- 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,