public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched.c gratious export removal
@ 2004-09-07 14:58 Christoph Hellwig
  2004-09-07 17:04 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-09-07 14:58 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

sched.c exports a few internal helpers although none of them is used in
modular code or code that could easily be made modular, nor would we
want modules to use them.


--- 1.345/kernel/sched.c	2004-09-04 04:28:36 +02:00
+++ edited/kernel/sched.c	2004-09-07 15:57:22 +02:00
@@ -1036,8 +1036,6 @@
 	preempt_enable();
 }
 
-EXPORT_SYMBOL_GPL(kick_process);
-
 /*
  * Return a low guess at the load of a migration-source cpu.
  *
@@ -2908,7 +2906,6 @@
 	__wake_up_common(q, mode, nr_exclusive, sync, NULL);
 	spin_unlock_irqrestore(&q->lock, flags);
 }
-EXPORT_SYMBOL_GPL(__wake_up_sync);	/* For internal use only */
 
 void fastcall complete(struct completion *x)
 {
@@ -3142,8 +3139,6 @@
 	return TASK_NICE(p);
 }
 
-EXPORT_SYMBOL(task_nice);
-
 /**
  * idle_cpu - is a given cpu idle currently?
  * @cpu: the processor in question.
@@ -3152,8 +3147,6 @@
 {
 	return cpu_curr(cpu) == cpu_rq(cpu)->idle;
 }
-
-EXPORT_SYMBOL_GPL(idle_cpu);
 
 /**
  * find_process_by_pid - find a process with a matching PID value.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sched.c gratious export removal
  2004-09-07 14:58 [PATCH] sched.c gratious export removal Christoph Hellwig
@ 2004-09-07 17:04 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2004-09-07 17:04 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: akpm, Linux Kernel Mailing List

On Maw, 2004-09-07 at 15:58, Christoph Hellwig wrote:
> sched.c exports a few internal helpers although none of them is used in
> modular code or code that could easily be made modular, nor would we
> want modules to use them.

>  /**
>   * idle_cpu - is a given cpu idle currently?
>   * @cpu: the processor in question.
> @@ -3152,8 +3147,6 @@
>  {
>  	return cpu_curr(cpu) == cpu_rq(cpu)->idle;
>  }
> -
> -EXPORT_SYMBOL_GPL(idle_cpu);

External power management modules definitely want to know this. 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-07 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-07 14:58 [PATCH] sched.c gratious export removal Christoph Hellwig
2004-09-07 17:04 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox