This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Wed Apr 24 17:45:01 2024 Delivery-date: Wed, 09 Dec 2009 10:42:09 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752877AbZLIJlp (ORCPT ); Wed, 9 Dec 2009 04:41:45 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:49955 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752684AbZLIJlo (ORCPT ); Wed, 9 Dec 2009 04:41:44 -050 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id B809024C6E2; Wed, 9 Dec 2009 01:41:51 -0800 (PST) Date: Wed, 09 Dec 2009 01:41:51 -0800 (PST) Message-Id: <20091209.014151.140337246.davem@davemloft.net> To: xiyou.wangcong@gmail.com Cc: u.kleine-koenig@pengutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com Subject: Re: [PATCH] irq: handle irq0 special only on x86 From: David Miller In-Reply-To: <2375c9f90912090128k70f54ee1n99421caa81c53a8f@mail.gmail.com> References: <1260350401-9858-1-git-send-email-u.kleine-koenig@pengutronix.de> <2375c9f90912090128k70f54ee1n99421caa81c53a8f@mail.gmail.com> X-Mailer: Mew version 6.2 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org From: Am$(D+1(Brico Wang Date: Wed, 9 Dec 2009 17:28:09 +0800 > 2009/12/9 Uwe Kleine-K$(D+S(Bnig : >> I just noticed this when digging in the irq handling. ,A (BAt least for arm >> this doesn't make sense. ,A (BNot sure if x86 is the only arch this test >> is valid for, but probably it is. > > No, it is not. > > Try grep -Inr 'irq0' arch/*/kernel. The edict was sent down long ago that IRQ number zero is special across the entire kernel tree. If IRQ zero can happen, you should offset the IRQ values you publish to the rest of the kernel, and translate them back when you process them internally. -- 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/