Sam Ravnborg <[email protected]> wrote:
>
> On Fri, Feb 03, 2006 at 12:07:04AM -0800, Andrew Morton wrote:
> >
> > Known problems:
> >
> > - Sam has added a new check in the kbuild tree. It detects multiple
> > instances of EXPORT_SYMBOL(foo) across separate .o files.
> >
> > It catches a _lot_ of problems. You'll see something like this:
>
> Sigh. I did a 'make allmodconfig' on x86_64 and found to my suprise only
> a sinlge symbol being exported more than one time.
>
> This is purely a consistency check introduced by commit:
> http://www.kernel.org/git/?p=linux/kernel/git/sam/kbuild.git;a=commit;h=cd1f125e5808203d3bf58f1d04a9cbd33f60fdb6
There were several tens on powerpc, sparc64, etc.
> I can rip it out again if the noise/value ratio is too high.
No, let's keep it. We're wasting memory on this stuff.
> We should IMO try to keep the exports in generic code.
Yes, I guess so. It gets tricky when you get onto things like the string
functions, most of which may be impemented in generic code or may be in
arch code, depending on __ARCH_HAVE_stuff.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]