Re: [PATCH 1/4] SGI Altix cross partition functionality (1st revision)

Christoph Hellwig
2004-08-24T19:13:43Z

> --- bk-linux-2.6.orig/kernel/sched.c 2004-08-23 14:39:35.000000000 -0500
> +++ bk-linux-2.6/kernel/sched.c 2004-08-24 07:29:11.000000000 -0500
> @@ -2814,6 +2814,7 @@
> {
> return setscheduler(pid, policy, param);
> }
> +EXPORT_SYMBOL(sys_sched_setscheduler);

As said previously you're not supposed to mess with this one.

> long nr_swap_pages;
> int numnodes = 1;
> +EXPORT_SYMBOL(numnodes);

Looing at the two routines that use this I think those two should always
go into the core kernel code. That way you also get rid of the
pda_percpu export.