Re: [PATCH] add scheduler domains for ia64

From: Andrew Morton
Date: Fri Aug 20 2004 - 01:31:52 EST


Jesse Barnes <jbarnes@xxxxxxxxxxxx> wrote:
>
> Yep, it's been working ok so far. There's still more we can do, but this is a
> good start I think. Andrew, this version applies on top of 2.6.8.1-mm2 but
> overwrites most of the earlier node-span patch by moving bits from arch/ia64
> to kernel/sched.c, so let me know if you want the patch in a different
> format.

Is OK. I wiggled it into the logical place so we'll end up with a sane
patch series.

Watch the warnings please...



kernel/sched.c:3732: warning: `sched_domain_node_span' defined but not used

Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

25-akpm/kernel/sched.c | 5 -----
1 files changed, 5 deletions(-)

diff -puN kernel/sched.c~sched-domain-node-span-4-update-warning-fix kernel/sched.c
--- 25/kernel/sched.c~sched-domain-node-span-4-update-warning-fix 2004-08-19 23:28:24.395974232 -0700
+++ 25-akpm/kernel/sched.c 2004-08-19 23:28:24.400973472 -0700
@@ -3727,11 +3727,6 @@ cpumask_t __init sched_domain_node_span(

return span;
}
-#else /* !CONFIG_NUMA */
-static cpumask_t __init sched_domain_node_span(int node, int size)
-{
- return cpu_possible_map;
-}
#endif /* CONFIG_NUMA */

#ifdef CONFIG_SCHED_SMT
_

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/