aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2008-04-24 23:46:20 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-25 03:53:06 -0400
commit5a9d3225a0d7060bdf3a18018992dc8cef958425 (patch)
tree585102b8d74e5b1631eeaec89ba428a4019d1697 /kernel/sched.c
parentb69d3987f4360a5e7e9e55465b3cdd0cc204b79e (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>
Diffstat (limited to 'kernel/sched.c')
-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)
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;