From: David Miller Date: Fri, 25 Apr 2008 03:46:20 +0000 (-0700) Subject: sched: use alloc_bootmem() instead of alloc_bootmem_low() X-Git-Tag: v2.6.26-rc1~1070^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=5a9d3225a0d7060bdf3a18018992dc8cef958425;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index 0014b03adac..09ca69b2c17 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;