From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from srv5.dvmed.net ([207.36.208.214]:47519 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1751447AbWJFPSI (ORCPT ); Fri, 6 Oct 2006 11:18:08 -0400 Message-ID: <452673AC.1080602@garzik.org> Date: Fri, 06 Oct 2006 11:18:04 -0400 From: Jeff Garzik MIME-Version: 1.0 Subject: [PATCH, RAW] IRQ: Maintain irq number globally rather than passing to IRQ handlers References: <20061002132116.2663d7a3.akpm@osdl.org> <20061002162049.17763.39576.stgit@warthog.cambridge.redhat.com> <20061002162053.17763.26032.stgit@warthog.cambridge.redhat.com> <18975.1160058127@warthog.cambridge.redhat.com> <4525A8D8.9050504@garzik.org> <1160133932.1607.68.camel@localhost.localdomain> <45263ABC.4050604@garzik.org> <20061006111156.GA19678@elte.hu> <45263D9C.9030200@garzik.org> In-Reply-To: <45263D9C.9030200@garzik.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org To: David Howells , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: Ingo Molnar , Alan Cox , Andrew Morton , Thomas Gleixner , torvalds@osdl.org, Dmitry Torokhov , Greg KH , David Brownell , Alan Stern List-ID: 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.