diff options
author | David Miller <davem@davemloft.net> | 2008-04-24 23:46:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-25 03:53:06 -0400 |
commit | 5a9d3225a0d7060bdf3a18018992dc8cef958425 (patch) | |
tree | 585102b8d74e5b1631eeaec89ba428a4019d1697 | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) |
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>
-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 0014b03adaca..09ca69b2c17d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -8128,7 +8128,7 @@ void __init sched_init(void) | |||
8128 | * we use alloc_bootmem(). | 8128 | * we use alloc_bootmem(). |
8129 | */ | 8129 | */ |
8130 | if (alloc_size) { | 8130 | if (alloc_size) { |
8131 | ptr = (unsigned long)alloc_bootmem_low(alloc_size); | 8131 | ptr = (unsigned long)alloc_bootmem(alloc_size); |
8132 | 8132 | ||
8133 | #ifdef CONFIG_FAIR_GROUP_SCHED | 8133 | #ifdef CONFIG_FAIR_GROUP_SCHED |
8134 | init_task_group.se = (struct sched_entity **)ptr; | 8134 | init_task_group.se = (struct sched_entity **)ptr; |