[U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/include/asm/linkage.h | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 arch/nds32/include/asm/linkage.h diff --git a/arch/nds32/include/asm/linkage.h

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR .align 4 #endif i think most arches will be this way -mike signature.asc Description: This is a digitally

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, 2011/12/1 Mike Frysinger vap...@gentoo.org On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR .align 4 #endif i think most arches will be this

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Mike Frysinger
On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote: 2011/12/1 Mike Frysinger vap...@gentoo.org On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, more than half will use .align 4. for the few that do not, they can still define __ALIGN themselves, and thus the #ifndef __ALIGN i quoted above will keep it from executing. -mike Good! I will fix this up ASAP. :-) -- Best regards, Macpaul Lin