Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752290Ab0KYTaj (ORCPT ); Thu, 25 Nov 2010 14:30:39 -0500 Received: from jdl.com ([208.123.74.7]:59678 "EHLO jdl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823Ab0KYTai (ORCPT ); Thu, 25 Nov 2010 14:30:38 -0500 To: Sebastian Andrzej Siewior cc: linux-kernel@vger.kernel.org, sodaville@linutronix.de, x86@kernel.org, devicetree-discuss@lists.ozlabs.org Subject: Re: [PATCH 04/11] x86/dtb: add irq host abstraction In-reply-to: <1290706801-7323-5-git-send-email-bigeasy@linutronix.de> References: <1290706801-7323-1-git-send-email-bigeasy@linutronix.de> <1290706801-7323-5-git-send-email-bigeasy@linutronix.de> Comments: In-reply-to Sebastian Andrzej Siewior message dated "Thu, 25 Nov 2010 18:39:54 +0100." Date: Thu, 25 Nov 2010 13:30:27 -0600 From: Jon Loeliger Message-Id: X-Spam-Score: -1.8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1085 Lines: 34 > The here introduced irq_host abstraction represents a generic irq_host. > The xlate callback is resposible to parse irq informations like irq type > and number and returns the hardware irq number which is reported by the > hardware as active. > [...] > diff --git a/arch/x86/include/asm/irq_controller.h b/arch/x86/include/asm/irq > _controller.h > new file mode 100644 > index 0000000..1cbbfd0 > --- /dev/null > +++ b/arch/x86/include/asm/irq_controller.h > @@ -0,0 +1,12 @@ > +#ifndef __IRQ_CONTROLLER__ > +#define __IRQ_CONTROLLER__ > + > +struct irq_host { > + int (*xlate)(struct irq_host *h, const u32 *intspec, u32 intsize, > + u32 *out_hwirq, u32 *out_type); > + void *priv; > + struct device_node *controller; > + struct list_head l; > +}; I thought there was an intent and desire to rename the irq_host as irq_domain. jdl -- 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/