summaryrefslogtreecommitdiff
path: root/drivers/clocksource/mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/mmio.c')
-rw-r--r--drivers/clocksource/mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/mmio.c b/drivers/clocksource/mmio.c
index 1593ade2a..c4f7d7a9b 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);