LWN.net Logo

[PATCH, RAW] IRQ: Maintain irq number globally rather than passing to IRQ handlers

From:  Jeff Garzik <jeff@garzik.org>
To:  David Howells <dhowells@redhat.com>, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject:  [PATCH, RAW] IRQ: Maintain irq number globally rather than passing to IRQ handlers
Date:  Fri, 06 Oct 2006 11:18:04 -0400
Cc:  Ingo Molnar <mingo@elte.hu>, Alan Cox <alan@lxorguk.ukuu.org.uk>, Andrew Morton <akpm@osdl.org>, Thomas Gleixner <tglx@linutronix.de>, torvalds@osdl.org, Dmitry Torokhov <dtor@mail.ru>, Greg KH <greg@kroah.com>, David Brownell <david-b@pacbell.net>, Alan Stern <stern@rowland.harvard.edu>

Here is the raw, un-split-up first pass of the irq argument removal 
patch (500K):	http://gtf.org/garzik/misc/patch.irq-remove

Notes:

* raw first pass, DO NOT APPLY.

* this was useful work:  it turned up several minor bugs

* Do we mark irq handlers FASTCALL?  If not, we probably can now.

* I also turned up a few obvious places that dhowells missed in his 
pt_regs patch, inevitably in non-x86 arches that probably were not built.

* I need to fix up ~10 or so drivers that called their interrupt 
handlers directly, then used a 'irq == 0' test to determine whether the 
interrupt handler was called internally, or by the system.

* not sure yet if I want to mark the parport "irq handler" functions as 
truly irqreturn_t

* Hopefully I will have this polished by the end of the day.


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

Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds