Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 712aaa1c authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

use CLOCKSOURCE_MASK() instead of too large constant

parent d5c03726
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ static struct clocksource clocksource_itc = {
        .name           = "itc",
        .rating         = 350,
        .read           = itc_get_cycles,
        .mask           = 0xffffffffffffffff,
        .mask           = CLOCKSOURCE_MASK(64),
        .mult           = 0, /*to be caluclated*/
        .shift          = 16,
        .flags          = CLOCK_SOURCE_IS_CONTINUOUS,
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ static struct clocksource clocksource_hpet = {
        .name           = "hpet",
        .rating         = 250,
        .read           = read_hpet,
        .mask           = 0xffffffffffffffff,
        .mask           = CLOCKSOURCE_MASK(64),
        .mult           = 0, /*to be caluclated*/
        .shift          = 10,
        .flags          = CLOCK_SOURCE_IS_CONTINUOUS,