Commit 5a9d3225 authored by David Miller's avatar David Miller Committed by Ingo Molnar

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b69d3987
...@@ -8128,7 +8128,7 @@ void __init sched_init(void) ...@@ -8128,7 +8128,7 @@ void __init sched_init(void)
* we use alloc_bootmem(). * we use alloc_bootmem().
*/ */
if (alloc_size) { if (alloc_size) {
ptr = (unsigned long)alloc_bootmem_low(alloc_size); ptr = (unsigned long)alloc_bootmem(alloc_size);
#ifdef CONFIG_FAIR_GROUP_SCHED #ifdef CONFIG_FAIR_GROUP_SCHED
init_task_group.se = (struct sched_entity **)ptr; init_task_group.se = (struct sched_entity **)ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment