From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751089AbVKUVwW (ORCPT ); Mon, 21 Nov 2005 16:52:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751090AbVKUVwW (ORCPT ); Mon, 21 Nov 2005 16:52:22 -0500 Received: from smtp.osdl.org ([65.172.181.4]:44708 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1751089AbVKUVwV (ORCPT ); Mon, 21 Nov 2005 16:52:21 -0500 Date: Mon, 21 Nov 2005 13:51:30 -0800 (PST) From: Linus Torvalds To: Ingo Molnar cc: Paul Mackerras , Matthew Wilcox , David Howells , Andrew Morton , linux-kernel@vger.kernel.org, Russell King , Ian Molton , Benjamin Herrenschmidt Subject: Re: [PATCH 4/5] Centralise NO_IRQ definition In-Reply-To: <20051121213527.GA6452@elte.hu> Message-ID: References: <24299.1132571556@warthog.cambridge.redhat.com> <20051121121454.GA1598@parisc-linux.org> <20051121190632.GG1598@parisc-linux.org> <20051121194348.GH1598@parisc-linux.org> <20051121211544.GA4924@elte.hu> <17282.15177.804471.298409@cargo.ozlabs.ibm.com> <20051121213527.GA6452@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Nov 2005, Ingo Molnar wrote: > > oh well [*]. Then it's gotta be the !dev->irq.valid thing i guess. No it's not. The ppc PCI probing could trivilly just turn a 0 into 256 (or equivalent), and mask off the low 7 bits when installing the handler. They know the interrupt is _really_ 0 from other sources (ie they have a different firmware, with explicit callbacks, and/or hardcoded knowledge). Linus