Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345Ab3CRLHX (ORCPT ); Mon, 18 Mar 2013 07:07:23 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:38161 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750913Ab3CRLHT (ORCPT ); Mon, 18 Mar 2013 07:07:19 -0400 MIME-Version: 1.0 In-Reply-To: <51459188.7000104@opello.org> References: <51459188.7000104@opello.org> Date: Mon, 18 Mar 2013 12:07:18 +0100 Message-ID: Subject: Re: [PATCH] microblaze: intc: set the default irq_domain From: Michal Simek To: Dan Christensen Cc: microblaze-uclinux@itee.uq.edu.au, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 42 2013/3/17 Dan Christensen : > Register the irq_domain created during initialization as the default so > that device drivers can pass NULL to irq_create_mapping and get a > virtual irq to pass to request_irq. > > Signed-off-by: Dan Christensen > --- > arch/microblaze/kernel/intc.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c > index 8778adf..d85fa3a 100644 > --- a/arch/microblaze/kernel/intc.c > +++ b/arch/microblaze/kernel/intc.c > @@ -172,4 +172,6 @@ void __init init_IRQ(void) > * and commits this patch. ~~gcl */ > root_domain = irq_domain_add_linear(intc, nr_irq, &xintc_irq_domain_ops, > (void *)intr_mask); > + > + irq_set_default_host(root_domain); > } > -- > 1.7.0.4 > Applied. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -- 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/