clocksource: Mmio: remove artificial 32bit limitation
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Dec 2015 17:21:41 +0000 (18:21 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2015 18:37:18 +0000 (19:37 +0100)
commitbbc9f720e5f9eb8a21c23ac76e75235f7a81b47a
tree25915f6939aaba475430fb01a0b9a4fac519c28d
parentb59b77954e929a0348272f2eac8d1738e234a627
clocksource: Mmio: remove artificial 32bit limitation

The EP93xx is registering a clocksource of 40 bits with
clocksource_mmio_init() but this is not working because of this
artificial limitation. It works fine to lift the uppe limit to
64 bits, and since cycle_t is u64, it should intuitively have been
like that from the beginning.

Fixes: 6e870fb942fb "ARM: ep93xx: switch to GENERIC_CLOCKEVENTS"
Reported-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1449768101-6879-1-git-send-email-linus.walleij@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/mmio.c