diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:50:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-25 15:50:00 -0400 |
commit | 6e18933f2b6156d0a0ec9d5522ab6a6033cf7241 (patch) | |
tree | f8045942c4b5c250fd4eec8331fec8a7e2962974 /kernel/sched.c | |
parent | eb855fd8e7f6b1d8b50f24aa36803e29b367b041 (diff) | |
parent | 03970f065d9b4b156d0e879f82989440f7045396 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[PATCH] Build fix for CONFIG_NUMA=y && CONFIG_SMP=n
[IA64] fix bootmem regression on Altix
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 9e19287f3359..740fb409e5bb 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -7948,11 +7948,6 @@ void __init sched_init_smp(void) | |||
7948 | #else | 7948 | #else |
7949 | void __init sched_init_smp(void) | 7949 | void __init sched_init_smp(void) |
7950 | { | 7950 | { |
7951 | #if defined(CONFIG_NUMA) | ||
7952 | sched_group_nodes_bycpu = kzalloc(nr_cpu_ids * sizeof(void **), | ||
7953 | GFP_KERNEL); | ||
7954 | BUG_ON(sched_group_nodes_bycpu == NULL); | ||
7955 | #endif | ||
7956 | sched_init_granularity(); | 7951 | sched_init_granularity(); |
7957 | } | 7952 | } |
7958 | #endif /* CONFIG_SMP */ | 7953 | #endif /* CONFIG_SMP */ |