Re: [RESEND]: RE: [PATCH v2 3/3] pch_gpio: support interrupt function

From: Grant Likely
Date: Mon Jun 20 2011 - 00:25:36 EST


On Sun, Jun 19, 2011 at 7:07 PM, Tomoya MORINAGA
<tomoya-linux@xxxxxxxxxxxxxxx> wrote:
> Hi Grant
>
> (2011/06/08 2:22), Grant Likely wrote:
>>
>> You don't need to implement new irq_chip
>> operations if you use the new irq_chip_generic implementation.
>>
>
> I have recently started implementing GPIO interrupt using irq_chip_generic.
> However, the compile becomes failed.
>  irq_alloc_generic_chip: undefined reference
>  irq_setup_generic_chip: undefined reference
>
> It seems irq_chip_generic is only ARM code.(linux-3.0-rc3)
> Does X86 support irq_chip_generic ?

Make sure your driver has "select GENERIC_IRQ_CHIP" in the Kconfig entry.

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