Re: [PATCH] powerpc/32: Remove __main()

2021-06-17 Thread Michael Ellerman
On Tue, 8 Jun 2021 17:22:51 + (UTC), Christophe Leroy wrote: > Comment says that __main() is there to make GCC happy. > > It's been there since the implementation of ppc arch in Linux 1.3.45. > > ppc32 is the only architecture having that. Even ppc64 doesn't have it. > > Seems like GCC is

Re: [PATCH] powerpc/32: Remove __main()

2021-06-08 Thread Segher Boessenkool
On Tue, Jun 08, 2021 at 05:22:51PM +, Christophe Leroy wrote: > Comment says that __main() is there to make GCC happy. > > It's been there since the implementation of ppc arch in Linux 1.3.45. > > ppc32 is the only architecture having that. Even ppc64 doesn't have it. > > Seems like GCC is

[PATCH] powerpc/32: Remove __main()

2021-06-08 Thread Christophe Leroy
Comment says that __main() is there to make GCC happy. It's been there since the implementation of ppc arch in Linux 1.3.45. ppc32 is the only architecture having that. Even ppc64 doesn't have it. Seems like GCC is still happy without it. Drop it for good. Signed-off-by: Christophe Leroy ---