Skip to content

Commit

Permalink
sched: use alloc_bootmem() instead of alloc_bootmem_low()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Miller authored and Ingo Molnar committed Apr 25, 2008
1 parent b69d398 commit 5a9d322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -8128,7 +8128,7 @@ void __init sched_init(void)
* we use alloc_bootmem().
*/
if (alloc_size) {
ptr = (unsigned long)alloc_bootmem_low(alloc_size);
ptr = (unsigned long)alloc_bootmem(alloc_size);

#ifdef CONFIG_FAIR_GROUP_SCHED
init_task_group.se = (struct sched_entity **)ptr;
Expand Down

0 comments on commit 5a9d322

Please sign in to comment.