diff options
author | David Miller <davem@davemloft.net> | 2008-04-24 20:46:20 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-25 09:53:06 +0200 |
commit | 5a9d3225a0d7060bdf3a18018992dc8cef958425 (patch) | |
tree | 585102b8d74e5b1631eeaec89ba428a4019d1697 /kernel | |
parent | b69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff) | |
download | blackbird-op-linux-5a9d3225a0d7060bdf3a18018992dc8cef958425.tar.gz blackbird-op-linux-5a9d3225a0d7060bdf3a18018992dc8cef958425.zip |
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>
Diffstat (limited to 'kernel')
-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) * 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; |