diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2020-07-20 14:15:02 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-07-22 17:02:04 +0200 |
commit | 58e15716feb562cdba57e99d62c525a1faa37c08 (patch) | |
tree | 8ff2f6e6424e3fb9ab6f4722a219347e0f04b33e /arch/s390 | |
parent | 3f161e0ae863a0456d00e5a6c9c81098c62ab7fe (diff) | |
download | linux-58e15716feb562cdba57e99d62c525a1faa37c08.tar.gz linux-58e15716feb562cdba57e99d62c525a1faa37c08.tar.bz2 linux-58e15716feb562cdba57e99d62c525a1faa37c08.zip |
s390/time: use CLOCKSOURCE_MASK
Make use of CLOCKSOURCE_MASK instead of open-coding it.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 700127ba689d..317059684847 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, |