aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@in.ibm.com>2006-06-27 05:54:39 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 20:32:45 -0400
commitd3a5aa9858cc9cecc3aadac7311d376c7c9e101a (patch)
tree2d753b1cfacdfe399aaa39c30d5f94623bc728e4 /kernel/sched.c
parent51888ca25a03125e742ef84d4ddfd74e139707a0 (diff)
[PATCH] sched_domai: Don't use GFP_ATOMIC
Replace GFP_ATOMIC allocation for sched_group_nodes with GFP_KERNEL based allocation. Signed-off-by: Srivatsa Vaddagiri <vatsa@in.ibm.com Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Ingo Molnar <mingo@elte.hu> Cc: "Siddha, Suresh B" <suresh.b.siddha@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 77a2ec55ef7d..e93c75ffdc88 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5880,7 +5880,7 @@ static int build_sched_domains(const cpumask_t *cpu_map)
5880 * Allocate the per-node list of sched groups 5880 * Allocate the per-node list of sched groups
5881 */ 5881 */
5882 sched_group_nodes = kzalloc(sizeof(struct sched_group*)*MAX_NUMNODES, 5882 sched_group_nodes = kzalloc(sizeof(struct sched_group*)*MAX_NUMNODES,
5883 GFP_ATOMIC); 5883 GFP_KERNEL);
5884 if (!sched_group_nodes) { 5884 if (!sched_group_nodes) {
5885 printk(KERN_WARNING "Can not alloc sched group node list\n"); 5885 printk(KERN_WARNING "Can not alloc sched group node list\n");
5886 return -ENOMEM; 5886 return -ENOMEM;