| Submitter | Michal Simek |
|---|---|
| Date | Dec. 21, 2010, 6:12 p.m. |
| Message ID | <1292955178-13018-2-git-send-email-monstr@monstr.eu> |
| Download | mbox | patch |
| Permalink | /patch/76309/ |
| State | Changes Requested |
| Headers | show |
Comments
Dear Michal Simek, In message <1292955178-13018-2-git-send-email-monstr@monstr.eu> you wrote: > GENERATED_BD_INFO_SIZE represent sizeof bd_info structure > which is used across architectures. > This value can be used in assembler files and macros. > > Signed-off-by: Michal Simek <monstr@monstr.eu> > --- > lib/asm-offsets.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c > index f1af7e2..8aba391 100644 > --- a/lib/asm-offsets.c > +++ b/lib/asm-offsets.c > @@ -24,6 +24,7 @@ int main (void) > /* Round up to make sure size gives nice stack alignment */ > DEFINE (GENERATED_GBL_DATA_SIZE, > (sizeof (struct global_data) + 15) & ~15); > + DEFINE (GENERATED_BD_INFO_SIZE, (sizeof (struct bd_info) + 15) & ~15); Please remove the space between macro name and argument list. Best regards, Wolfgang Denk
Patch
diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c index f1af7e2..8aba391 100644 --- a/lib/asm-offsets.c +++ b/lib/asm-offsets.c @@ -24,6 +24,7 @@ int main (void) /* Round up to make sure size gives nice stack alignment */ DEFINE (GENERATED_GBL_DATA_SIZE, (sizeof (struct global_data) + 15) & ~15); + DEFINE (GENERATED_BD_INFO_SIZE, (sizeof (struct bd_info) + 15) & ~15); return 0; }
GENERATED_BD_INFO_SIZE represent sizeof bd_info structure which is used across architectures. This value can be used in assembler files and macros. Signed-off-by: Michal Simek <monstr@monstr.eu> --- lib/asm-offsets.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)