diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
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; |