From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang YanQing Subject: Re: [PATCH v2] x86: export 'pcibios_enabled' as GPL Date: Wed, 21 Mar 2012 12:37:21 +0800 Message-ID: <20120321043721.GA927@udknight> References: <20120313204114.e160849af7dbe5a4b4e5c0ad@canb.auug.org.au> <4F5FAE63.3090908@xenotime.net> <20120319003044.GA3744@udknight> <4F6685ED.7040000@xenotime.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-iy0-f174.google.com ([209.85.210.174]:48560 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752764Ab2CUEhg (ORCPT ); Wed, 21 Mar 2012 00:37:36 -0400 Content-Disposition: inline In-Reply-To: <4F6685ED.7040000@xenotime.net> Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML , Michal Januszewski , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org, x86@kernel.org, Andrew Morton , tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com On Sun, Mar 18, 2012 at 06:03:41PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Export 'pcibios_enabled' so that when uvesafb is built as a > loadable module (on X86_32), the build will succeed. > > ERROR: "pcibios_enabled" [drivers/video/uvesafb.ko] undefined! > > Patch v2 uses EXPORT_SYMBOL_GPL() as requested. > > Signed-off-by: Randy Dunlap > Cc: Michal Januszewski > Cc: Florian Tobias Schandinat > Cc: linux-fbdev@vger.kernel.org > Cc: x86@kernel.org > --- > arch/x86/pci/pcbios.c | 1 + > 1 file changed, 1 insertion(+) > > --- linux-next-20120313.orig/arch/x86/pci/pcbios.c > +++ linux-next-20120313/arch/x86/pci/pcbios.c > @@ -27,6 +27,7 @@ > #define PCIBIOS_HW_TYPE2_SPEC 0x20 > > int pcibios_enabled; > +EXPORT_SYMBOL_GPL(pcibios_enabled); > > /* According to the BIOS specification at: > * http://members.datafast.net.au/dft0802/specs/bios21.pdf, we could Acked-by: Wang YanQing