All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Traill <john.traill@motorola.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: bi_record location Error ?
Date: Fri, 27 Sep 2002 08:39:24 +0100	[thread overview]
Message-ID: <3D940B2C.3060105@motorola.com> (raw)


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/

                 reply	other threads:[~2002-09-27  7:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D940B2C.3060105@motorola.com \
    --to=john.traill@motorola.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.