Allocalting > 4M

Rune Torgersen runet at innovsys.com
Thu Sep 28 07:29:45 EST 2006


 

> -----Original Message-----
> From: Arnd Bergmann [mailto:arnd at arndb.de] 
> alloc_bootmem is supposed to handle this case, but you can only call
> that very early in your code, before the buddy allocator kicks in
> (free_all_bootmem()). Maybe you should just check why it 
> fails for you.

I was calling it in the wrong board init function. 
m82xx_board_init was too early, and our platform_init was too late.

It works now.



More information about the Linuxppc-embedded mailing list