ucc_geth DPRAM alloc error, 2.6.22-rc3

Rune Torgersen runet at innovsys.com
Fri Jun 15 13:47:20 EST 2007


>From: Li Yang-r58472 [mailto:LeoLi at freescale.com]
>>  	if (assure_empty(info, 1) < 0)
>>  		return ERR_PTR(-ENOMEM);

>You also need to change this to assure_empty(info, 2), as you are very
>likely to need 2 slots afterward.  You need to assure there are enough
>slots or grow the block number.

Ahh. I'll fix that in my code.
It was a quick&dirty hack to get the allocator to work wen we used most of the available DPRAM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070614/0f561fa9/attachment.htm>


More information about the Linuxppc-dev mailing list