From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752597AbaINIs2 (ORCPT ); Sun, 14 Sep 2014 04:48:28 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:43131 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbaINIs1 (ORCPT ); Sun, 14 Sep 2014 04:48:27 -0400 Message-ID: <5415565F.5090107@gmail.com> Date: Sun, 14 Sep 2014 16:48:31 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Michal Simek , grant.likely@linaro.org, tony@atomide.com, bhelgaas@google.com, Benjamin Herrenschmidt , rob.herring@calxeda.com, sebott@linux.vnet.ibm.com CC: "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break References: <54155579.6040808@gmail.com> In-Reply-To: <54155579.6040808@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After this patch, excluding many warnings, it can pass allmodconfig for next-20140912. Thanks. On 09/14/2014 04:44 PM, Chen Gang wrote: > Export it just like another architectures have done (e.g. powerpc). The > related error with allmodconfig: > > ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined! > ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko] undefined! > ... > ERROR: "isa_io_base" [drivers/ata/pata_artop.ko] undefined! > ERROR: "isa_io_base" [drivers/ata/libata.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > > Signed-off-by: Chen Gang > --- > arch/microblaze/pci/pci-common.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c > index 9037914..6c57a6a 100644 > --- a/arch/microblaze/pci/pci-common.c > +++ b/arch/microblaze/pci/pci-common.c > @@ -48,6 +48,7 @@ static int global_phb_number; /* Global phb counter */ > resource_size_t isa_mem_base; > > unsigned long isa_io_base; > +EXPORT_SYMBOL(isa_io_base); > static int pci_bus_count; > > struct pci_controller *pcibios_alloc_controller(struct device_node *dev) > -- Chen Gang Open share and attitude like air water and life which God blessed