* bi_record location Error ?
@ 2002-09-27 7:39 John Traill
0 siblings, 0 replies; only message in thread
From: John Traill @ 2002-09-27 7:39 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-27 7:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-27 7:39 bi_record location Error ? John Traill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).