summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2008-04-24 20:46:20 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-25 09:53:06 +0200
commit5a9d3225a0d7060bdf3a18018992dc8cef958425 (patch)
tree585102b8d74e5b1631eeaec89ba428a4019d1697 /kernel
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e (diff)
downloadblackbird-obmc-linux-5a9d3225a0d7060bdf3a18018992dc8cef958425.tar.gz
blackbird-obmc-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.c2
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;
OpenPOWER on IntegriCloud