Commit 5a9d3225a0d7060bdf3a18018992dc8cef958425
Committed by
Ingo Molnar
1 parent
b69d3987f4
Exists in
master
and in
7 other branches
sched: use alloc_bootmem() instead of alloc_bootmem_low()
There is no guarantee that there is physical ram below 4GB, and in fact many boxes don't have exactly that. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/sched.c
... | ... | @@ -8128,7 +8128,7 @@ |
8128 | 8128 | * we use alloc_bootmem(). |
8129 | 8129 | */ |
8130 | 8130 | if (alloc_size) { |
8131 | - ptr = (unsigned long)alloc_bootmem_low(alloc_size); | |
8131 | + ptr = (unsigned long)alloc_bootmem(alloc_size); | |
8132 | 8132 | |
8133 | 8133 | #ifdef CONFIG_FAIR_GROUP_SCHED |
8134 | 8134 | init_task_group.se = (struct sched_entity **)ptr; |