Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Ley Foon Tan
On Thu, Oct 30, 2014 at 7:33 PM, Arnd Bergmann wrote: > On Thursday 30 October 2014 18:44:37 Ley Foon Tan wrote: >> > >> > I don't remember what all of these are, but at least some of them seem >> > to be concerned with 64-bit division. By convention, we don't provide those >> > in the Linux

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Arnd Bergmann
On Thursday 30 October 2014 18:44:37 Ley Foon Tan wrote: > > > > I don't remember what all of these are, but at least some of them seem > > to be concerned with 64-bit division. By convention, we don't provide those > > in the Linux kernel but instead require all code to use the do_div() > > macro

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Thomas Gleixner
On Thu, 30 Oct 2014, Ley Foon Tan wrote: > On Tue, Oct 28, 2014 at 9:38 PM, Arnd Bergmann wrote: > > On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: > >> +DECLARE_EXPORT(__gcc_bcmp); > >> +DECLARE_EXPORT(__divdi3); > >> +DECLARE_EXPORT(__divsi3); > >> +DECLARE_EXPORT(__moddi3); > >>

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Ley Foon Tan
On Tue, Oct 28, 2014 at 9:38 PM, Arnd Bergmann wrote: > On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: >> +DECLARE_EXPORT(__gcc_bcmp); >> +DECLARE_EXPORT(__divdi3); >> +DECLARE_EXPORT(__divsi3); >> +DECLARE_EXPORT(__moddi3); >> +DECLARE_EXPORT(__modsi3); >> +DECLARE_EXPORT(__udivdi3); >>

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Ley Foon Tan
On Tue, Oct 28, 2014 at 9:38 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: +DECLARE_EXPORT(__gcc_bcmp); +DECLARE_EXPORT(__divdi3); +DECLARE_EXPORT(__divsi3); +DECLARE_EXPORT(__moddi3); +DECLARE_EXPORT(__modsi3); +DECLARE_EXPORT(__udivdi3);

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Thomas Gleixner
On Thu, 30 Oct 2014, Ley Foon Tan wrote: On Tue, Oct 28, 2014 at 9:38 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: +DECLARE_EXPORT(__gcc_bcmp); +DECLARE_EXPORT(__divdi3); +DECLARE_EXPORT(__divsi3); +DECLARE_EXPORT(__moddi3);

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Arnd Bergmann
On Thursday 30 October 2014 18:44:37 Ley Foon Tan wrote: I don't remember what all of these are, but at least some of them seem to be concerned with 64-bit division. By convention, we don't provide those in the Linux kernel but instead require all code to use the do_div() macro instead.

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-30 Thread Ley Foon Tan
On Thu, Oct 30, 2014 at 7:33 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 30 October 2014 18:44:37 Ley Foon Tan wrote: I don't remember what all of these are, but at least some of them seem to be concerned with 64-bit division. By convention, we don't provide those in the Linux

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-28 Thread Arnd Bergmann
On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: > +DECLARE_EXPORT(__gcc_bcmp); > +DECLARE_EXPORT(__divdi3); > +DECLARE_EXPORT(__divsi3); > +DECLARE_EXPORT(__moddi3); > +DECLARE_EXPORT(__modsi3); > +DECLARE_EXPORT(__udivdi3); > +DECLARE_EXPORT(__udivmoddi4); > +DECLARE_EXPORT(__udivsi3); >

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-28 Thread Arnd Bergmann
On Friday 24 October 2014 16:24:31 Ley Foon Tan wrote: +DECLARE_EXPORT(__gcc_bcmp); +DECLARE_EXPORT(__divdi3); +DECLARE_EXPORT(__divsi3); +DECLARE_EXPORT(__moddi3); +DECLARE_EXPORT(__modsi3); +DECLARE_EXPORT(__udivdi3); +DECLARE_EXPORT(__udivmoddi4); +DECLARE_EXPORT(__udivsi3);

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-27 Thread Ley Foon Tan
On Fri, Oct 24, 2014 at 5:10 PM, Geert Uytterhoeven wrote: > On Fri, Oct 24, 2014 at 10:24 AM, Ley Foon Tan wrote: >> --- /dev/null >> +++ b/arch/nios2/boot/install.sh >> @@ -0,0 +1,52 @@ >> +#!/bin/sh >> +# >> +# This file is subject to the terms and conditions of the GNU General Public >> +#

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-27 Thread Ley Foon Tan
On Fri, Oct 24, 2014 at 5:10 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Oct 24, 2014 at 10:24 AM, Ley Foon Tan lf...@altera.com wrote: --- /dev/null +++ b/arch/nios2/boot/install.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# +# This file is subject to the terms and conditions of the GNU

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-24 Thread Geert Uytterhoeven
On Fri, Oct 24, 2014 at 10:24 AM, Ley Foon Tan wrote: > --- /dev/null > +++ b/arch/nios2/boot/install.sh > @@ -0,0 +1,52 @@ > +#!/bin/sh > +# > +# This file is subject to the terms and conditions of the GNU General Public > +# License. See the file "COPYING" in the main directory of this archive

[PATCH v5 29/29] nios2: Build infrastructure

2014-10-24 Thread Ley Foon Tan
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan --- arch/nios2/Kconfig | 201 +++ arch/nios2/Kconfig.debug | 17 +++ arch/nios2/Makefile | 73

[PATCH v5 29/29] nios2: Build infrastructure

2014-10-24 Thread Ley Foon Tan
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/nios2/Kconfig | 201 +++ arch/nios2/Kconfig.debug | 17 +++ arch/nios2/Makefile |

Re: [PATCH v5 29/29] nios2: Build infrastructure

2014-10-24 Thread Geert Uytterhoeven
On Fri, Oct 24, 2014 at 10:24 AM, Ley Foon Tan lf...@altera.com wrote: --- /dev/null +++ b/arch/nios2/boot/install.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file COPYING in the main directory of this