]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32: Remove __main()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 8 Jun 2021 17:22:51 +0000 (17:22 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:10 +0000 (00:09 +1000)
commite9950d441d98b9c4c3d81055df8a3ac125807a15
tree02fba61fd6fe3478a8a3420e487e6973e02a3e91
parent65cb0e1f758eb65af66174c754594d0750a4f1ba
powerpc/32: Remove __main()

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 <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/d01028f8166b98584eec536b52f14c5e3f98ff6b.1623172922.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/misc_32.S