sched: use alloc_bootmem() instead of alloc_bootmem_low()
authorDavid Miller <davem@davemloft.net>
Fri, 25 Apr 2008 03:46:20 +0000 (20:46 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Apr 2008 07:53:06 +0000 (09:53 +0200)
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>
kernel/sched.c

index 0014b03adaca0af7d09d25d3b5c0df3c007b2462..09ca69b2c17d4e4174d263bcbb35d64119bef04b 100644 (file)
@@ -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;