bi_record location Error ?
John Traill
john.traill at motorola.com
Fri Sep 27 17:39:24 EST 2002
The _ALIGN macro is defined as follows :-
#define _ALIGN(addr,size) (((addr)+size-1)&(~(size-1)))
However all uses of the ALIGN macro for bi_record location already add the size eg.
rec = (struct bi_record *)_ALIGN((ulong)__bss_start+(1<<20)-1,(1<<20));
The use of _ALIGN for the bi_records is consistent but is there a reason for the double size offset or is it a simple typo ?
--
Regards, John
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list