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
This commit is contained in:
Christophe Leroy 2021-06-08 17:22:51 +00:00 коммит произвёл Michael Ellerman
Родитель 91e9ee7e94
Коммит 4696cfdb13
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -388,9 +388,3 @@ _GLOBAL(start_secondary_resume)
bl start_secondary bl start_secondary
b . b .
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
/*
* This routine is just here to keep GCC happy - sigh...
*/
_GLOBAL(__main)
blr