Skip to content

Commit

Permalink
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/sc…
Browse files Browse the repository at this point in the history
…m/linux/kernel/git/tip/tip

Pull timer fix from Thomas Gleixner:
 "A single fix to unbreak a clocksource driver which has more than 32bit
  counter width"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clocksource: Mmio: remove artificial 32bit limitation
  • Loading branch information
torvalds committed Dec 13, 2015
2 parents f17ef49 + e2bf3e6 commit 43afc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/mmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 43afc99

Please sign in to comment.