diff options
Diffstat (limited to 'kernel/drivers/clocksource/mmio.c')
-rw-r--r-- | kernel/drivers/clocksource/mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/clocksource/mmio.c b/kernel/drivers/clocksource/mmio.c index 1593ade2a..c4f7d7a9b 100644 --- a/kernel/drivers/clocksource/mmio.c +++ b/kernel/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); |