]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Feb 2013 03:43:20 +0000 (19:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 27 Feb 2013 03:43:20 +0000 (19:43 -0800)
Pull timer fixes from Ingo Molnar.

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clocksource : Nomadik-mtu : fix missing irq initialization
  posix-timer: Don't call idr_find() with out-of-range ID

1  2 
drivers/clocksource/nomadik-mtu.c

index 435e54d55bbd48f173246e76dcb25395f453448b,7cbcaa02f52c2670be6f2f6973f6be98beed9bc2..071f6eadfea24d02134e391d6e65aae9ba9aaa75
@@@ -240,9 -226,6 +240,10 @@@ void __init nmdk_timer_init(void __iome
        /* Timer 1 is used for events, register irq and clockevents */
        setup_irq(irq, &nmdk_timer_irq);
        nmdk_clkevt.cpumask = cpumask_of(0);
+       nmdk_clkevt.irq = irq;
        clockevents_config_and_register(&nmdk_clkevt, rate, 2, 0xffffffffU);
 +
 +      mtu_delay_timer.read_current_timer = &nmdk_timer_read_current_timer;
 +      mtu_delay_timer.freq = rate;
 +      register_current_timer_delay(&mtu_delay_timer);
  }