From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: linux-next: build failure in Linus' tree Date: Mon, 14 May 2012 10:32:09 +0200 (CEST) Message-ID: References: <20120514105025.0ba1b124f5e9c192fc11e132@canb.auug.org.au> <20120514065747.D73403E0532@localhost> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.linutronix.de ([62.245.132.108]:46891 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754483Ab2ENIcO (ORCPT ); Mon, 14 May 2012 04:32:14 -0400 In-Reply-To: <20120514065747.D73403E0532@localhost> Sender: linux-next-owner@vger.kernel.org List-ID: To: Grant Likely Cc: Stephen Rothwell , Linus Torvalds , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Jean-Francois Dagenais On Mon, 14 May 2012, Grant Likely wrote: > On Mon, 14 May 2012 10:50:25 +1000, Stephen Rothwell wrote: > > Hi Linus, > > > > Building Linus' tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined! > > ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined! > > > > This has been reported elsewhere by DaveM. > > > > Caused by commit df9541a60af0 ("gpio: pch9: Use proper flow type handlers"). > > > > I have reverted that commit for today. > > Gah, I tested that patch with CONFIG_GPIO_PCH=Y, but not as a module. > I see three options here; revert the patch now and fix it up in v3.4, > add exports for those two symbols, or disable building that code as a > module (patch below). Personally I prefer the third option for the > immediate fix. I was about to queue the exports, but this one is good as well. Thanks, tglx > g. > > >From 7fd0fcff9f0d65734415fed756271c1ae2267666 Mon Sep 17 00:00:00 2001 > From: Grant Likely > Date: Mon, 14 May 2012 00:52:49 -0600 > Subject: [PATCH] gpio/pch: Fix build failure when selected as a module > > x86_64 allmodconfig fails like this: > > ERROR: "handle_edge_irq" [drivers/gpio/gpio-pch.ko] undefined! > ERROR: "irq_to_desc" [drivers/gpio/gpio-pch.ko] undefined! > > This patch fixes the issue by not allowing gpio-pch.c to be built as a > module. It can be reenabled when the core interrupt handling code > exports the missing symbols, but that change needs some review first. > > Signed-off-by: Grant Likely > Cc: Thomas Gleixner Acked-by: Thomas Gleixner > Cc: "David S. Miller" > Cc: Stephen Rothwell > --- > drivers/gpio/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index e03653d..db146d5 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -403,7 +403,7 @@ config GPIO_LANGWELL > Say Y here to support Intel Langwell/Penwell GPIO. > > config GPIO_PCH > - tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO" > + bool "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO" > depends on PCI && X86 > select GENERIC_IRQ_CHIP > help > -- > 1.7.9.5 > > > >