Re: [2.6 patch] kernel/sched.c: remove 2 unused exports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Adrian Bunk <[email protected]> wrote:

> On Tue, Jul 17, 2007 at 09:22:33PM +0200, Ingo Molnar wrote:
> > 
> > * Adrian Bunk <[email protected]> wrote:
> > 
> > > This patch removes the following unused exports:
> > > - EXPORT_SYMBOL(cond_resched_softirq);
> > > - EXPORT_SYMBOL_GPL(__wake_up_sync);
> > 
> > these are there for API completeness - their counterparts are exported.
> 
> Why is something with a comment "For internal use only" part of the 
> API?

yeah, you are right about __wake_up_sync. We'll likely remove sync 
wakeups anyway, and the export is GPL, so it's not a big issue.

The point remains for cond_resched_softirq() though - it's a symmetric 
export to cond_resched()'s export. (I think you should smarten your 
scripts about such 'API family' exports, to avoid false positives.)

	Ingo
-
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]
  Powered by Linux