[RFC] Initial attempt to make ARM use LMB
Rabin Vincent
rabin at rab.in
Sat Apr 10 07:56:26 EDT 2010
On Sat, Apr 10, 2010 at 08:03:05AM +0100, Russell King - ARM Linux wrote:
> On Sat, Apr 10, 2010 at 09:12:24AM +0530, Rabin Vincent wrote:
> > On Fri, Apr 09, 2010 at 12:11:05PM +0100, Russell King - ARM Linux wrote:
> > > Here's a revised version which should resolve the initrd problem.
> >
> > It does, after the missing call to lmb_init() is added.
>
> Which missing call?
This one:
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index bc341c4..f1e0f5d 100644
--- a/arch/arm/mm/init.c
+++ b/arch/arm/mm/init.c
@@ -279,6 +279,7 @@ void __init arm_lmb_init(struct meminfo *mi, struct machine_desc *mdesc)
{
int i;
+ lmb_init();
for (i = 0; i < mi->nr_banks; i++)
lmb_add(mi->bank[i].start, mi->bank[i].size);
More information about the linux-arm-kernel
mailing list