avr32: allow system timer to share interrupt to make OProfile work
authorVoss, Nikolaus <N.Voss@weinmann.de>
Fri, 18 Jul 2008 12:44:48 +0000 (14:44 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 25 Jul 2008 12:31:29 +0000 (14:31 +0200)
commit56d3eef2b49b06618981c87edba16a607bf10ddd
tree99c105d080bd52414dee7ca7d049a17991272948
parentdb6ea2c17cef531a58f48c51c3a0892edcaf1380
avr32: allow system timer to share interrupt to make OProfile work

The following patch allows the avr32_comparator interrupt to be shared.
This is necessary as the avr32 oprofile driver shares the irq group 0
with the timer.

To make OProfile actually work on AVR32, a small patch for oprofiled is
also needed (posted to the oprofile mailing list).

Signed-off-by: Nikolaus Voss <n.voss@weinmann.de>
[haavard.skinnemoen@atmel.com: set IRQF_SHARED unconditionally]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/kernel/time.c