[<prev] [next>] [day] [month] [year] [list]
Message-ID: <BANLkTinpmZHJt4guXoSPfjT9SoiSmEpJFw@mail.gmail.com>
Date: Sun, 10 Apr 2011 13:47:02 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Thomas Gleixner <tglx@...utronix.de>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>
Cc: linux-kernel@...r.kernel.org
Subject: irq_startup()
Hi Thomas, Sato-san,
struct irq_chip has:
unsigned int (*irq_startup)(struct irq_data *data);
while the internal wrapper has:
int irq_startup(struct irq_desc *desc);
The return value and type are nowhere documented, but according to the
callers that
use it, it's flag to indicate that an interrupt was pending, right?
This mechanism seems to be used by startup_ioapic_irq() only, all other
irq_startup implementations always return 0...
Except for h8300_startup_irq(), which returns 0 or -EBUSY?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists