[Linux-galileo] ev64260 bi_rec patch
Paul Mackerras
paulus at samba.org
Tue Apr 2 12:38:38 EST 2002
Michael Sokolov writes:
> The bi_recs list has a variable length and can't be copied to a static variable
> (unless we agree on a maximum size for it and make a static buffer of that
> size, but someone other than me has to make that decision), and I don't know
> how to make a dynamic memory allocation that early.
Use the memory pointed to by klimit and increment klimit by the amount
you use. You should keep klimit aligned on a 4-byte boundary, I think.
Paul.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list