Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754159AbbETUCM (ORCPT ); Wed, 20 May 2015 16:02:12 -0400 Received: from www.linutronix.de ([62.245.132.108]:34829 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753023AbbETUCJ (ORCPT ); Wed, 20 May 2015 16:02:09 -0400 Date: Wed, 20 May 2015 22:02:12 +0200 (CEST) From: Thomas Gleixner To: Hanjun Guo cc: Marc Zyngier , Jason Cooper , Will Deacon , Catalin Marinas , "Rafael J. Wysocki" , Jiang Liu , Lorenzo Pieralisi , Arnd Bergmann , Tomasz Nowicki , Grant Likely , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org Subject: Re: [PATCH 03/11] irqchip / GIC: Add GIC version support in ACPI MADT In-Reply-To: <1431953961-22706-4-git-send-email-hanjun.guo@linaro.org> Message-ID: References: <1431953961-22706-1-git-send-email-hanjun.guo@linaro.org> <1431953961-22706-4-git-send-email-hanjun.guo@linaro.org> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 736 Lines: 25 On Mon, 18 May 2015, Hanjun Guo wrote: > diff --git a/drivers/acpi/irq.c b/drivers/acpi/irq.c > index 65d6b93..855ead9 100644 > --- a/drivers/acpi/irq.c > +++ b/drivers/acpi/irq.c > @@ -32,6 +32,9 @@ void __init acpi_irqchip_init(void) > if (acpi_disabled) > return; > > + if (acpi_gic_version_init()) > + return; This looks just wrong. acpi_irqchip_init() is a generic ACPI function and now you stick a GIC specific callback into it? What calls acpi_irqchip_init? Thanks, tglx -- 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/