[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100223172543.61fc1d2b.sfr@canb.auug.org.au>
Date: Tue, 23 Feb 2010 17:25:43 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Travis <travis@....com>
Subject: linux-next: build warning after merging all the trees (tip tree
related)
Hi all,
After merging all the trees, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:
WARNING: drivers/pci/built-in.o(__ksymtab+0x1a0): Section mismatch in reference from the variable __ksymtab_pci_register_set_vga_state to the function .init.text:pci_register_set_vga_state()
The symbol pci_register_set_vga_state is exported and annotated __init
Fix this by removing the __init annotation of pci_register_set_vga_state or drop the export.
Introduced by commit 95a8b6efc5d07103583f706c8a5889437d537939 ("pci:
Update pci_set_vga_state() to call arch functions"). It really doesn't
make much sense to apply EXPORT_SYMBOL() to a function marked __init (or
vice versa, as the case may be :-)).
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists