From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.osdl.org ([65.172.181.4]:2226 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S965112AbWJBU7P (ORCPT ); Mon, 2 Oct 2006 16:59:15 -0400 Date: Mon, 2 Oct 2006 13:58:42 -0700 From: Andrew Morton Subject: Re: [PATCH 3/3] IRQ: Maintain regs pointer globally rather than passing to IRQ handlers Message-Id: <20061002135842.35e31418.akpm@osdl.org> In-Reply-To: <200610021346.13135.david-b@pacbell.net> References: <20061002162049.17763.39576.stgit@warthog.cambridge.redhat.com> <20061002162053.17763.26032.stgit@warthog.cambridge.redhat.com> <20061002132116.2663d7a3.akpm@osdl.org> <200610021346.13135.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org To: David Brownell Cc: David Howells , Thomas Gleixner , Ingo Molnar , torvalds@osdl.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Dmitry Torokhov , Greg KH , Alan Stern List-ID: On Mon, 2 Oct 2006 13:46:11 -0700 David Brownell wrote: > The only downside I can think of for dropping pt_regs is that now it's harder > to just find the IRQ handler in a driver ... it's previously been all but > guaranteed that the _only_ use of that type is the IRQ logic. The upsides > surely outweigh that. You can use irqreturn_t for that.