Compiling interrupt controller code as a module

Bill Gatliff bgat at billgatliff.com
Wed Apr 18 03:13:24 EST 2007


Laurent Pinchart wrote:
> Hi everybody.
>
> I wrote a kernel driver for a custom bus (using arch/ppc). The hardware has a 
> cascaded interrupt controller wired to one of the CPU interrupts. The 
> interrupt controller IRQ handler calls __do_IRQ() to dispatch interrupts.
>
> Everything worked fine until I tried to compile the code as a module because 
> __do_IRQ() is not exported. Is there a way to compile an interrupt controller 
> as a module, or must it be included in the kernel ?
>   


Could you just export __do_IRQ()?


b.g.

-- 
Bill Gatliff
bgat at billgatliff.com




More information about the Linuxppc-embedded mailing list