Commit 09d4eb8f authored by Zhenmin Li's avatar Zhenmin Li Committed by David S. Miller

[SPARC]: Fix prom_prom_taken[].theres_more setting.

parent ecdd78ec
......@@ -156,7 +156,7 @@ void __init prom_meminit(void)
prom_prom_taken[iter].num_bytes =
(unsigned long) prom_reg_memlist[iter].reg_size;
prom_prom_taken[iter].theres_more =
&prom_phys_total[iter+1];
&prom_prom_taken[iter+1];
}
prom_prom_taken[iter-1].theres_more = 0x0;
......
......@@ -114,7 +114,7 @@ void __init prom_meminit(void)
prom_prom_taken[iter].num_bytes =
prom_reg_memlist[iter].reg_size;
prom_prom_taken[iter].theres_more =
&prom_phys_total[iter+1];
&prom_prom_taken[iter+1];
}
prom_prom_taken[iter-1].theres_more = 0x0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment