[GIT pull] timer fixes for 4.4

From: Thomas Gleixner
Date: Sun Dec 13 2015 - 04:21:11 EST


Linus,

please pull the latest timers-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus


A single fix to unbreak a clocksource driver which has more than 32bit
counter width.

Thanks,

tglx

------------------>
Linus Walleij (1):
clocksource: mmio: remove artificial 32bit limitation


drivers/clocksource/mmio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/mmio.c b/drivers/clocksource/mmio.c
index 1593ade2a815..c4f7d7a9b689 100644
--- a/drivers/clocksource/mmio.c
+++ b/drivers/clocksource/mmio.c
@@ -55,7 +55,7 @@ int __init clocksource_mmio_init(void __iomem *base, const char *name,
{
struct clocksource_mmio *cs;

- if (bits > 32 || bits < 16)
+ if (bits > 64 || bits < 16)
return -EINVAL;

cs = kzalloc(sizeof(struct clocksource_mmio), GFP_KERNEL);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/