The IRQ handlers for the clockevent on at91 (pit or system timer) are shared.
The following patch in linux-rt was removing those when they are unused:
http://git.kernel.org/cgit/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=227cd21851456fb08e87f5a35e0e51280a9fd439

Unfortunately, they bitrotted over time and actually break the at91rm9200 (the
irq gets removed but never requested again) and gives warning on all the other
at91 platforms.

The following patches replace the mentionned patch and are based on
clockevents/4.3 to be applied after the switch to the 'set-state' interface.

Alexandre Belloni (3):
  clocksource: atmel-st: Remove irq handler when clock event is unused
  clocksource: atmel-pit: drop at91sam926x_pit_common_init
  clocksource: atmel-pit: Remove irq handler when clock event is unused

 drivers/clocksource/timer-atmel-pit.c | 134 +++++++++++++++++-----------------
 drivers/clocksource/timer-atmel-st.c  |  43 +++++++++--
 2 files changed, 102 insertions(+), 75 deletions(-)

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to