Re: [PATCH 1/3] netpoll api

Andrew Morton
2003-09-10T07:47:29Z

Matt Mackall <mpm@selenic.com> wrote:
>
> + spin_lock_irq(&irq_desc[ndev->irq].lock);
> + for(a=irq_desc[ndev->irq].action; a; a=a->next) {

Lots of architectures do not use irq_desc[]. You'll need abstracted
per-arch primitives for functions such as this.