Skip to content

Commit a428664

Browse files
committed
m68k: sun3: Add missing asmlinkage to sun3_init()
sun3_init() is called from assembly code, so it should be marked asmlinkage for documentation purposes. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/9a174020de2c55e108be9bd25fcdec3e48d655c4.1694613528.git.geert@linux-m68k.org
1 parent bdc1656 commit a428664

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arch/m68k/sun3/config.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/init.h>
1818
#include <linux/memblock.h>
1919
#include <linux/platform_device.h>
20+
#include <linux/linkage.h>
2021

2122
#include <asm/oplib.h>
2223
#include <asm/setup.h>
@@ -49,7 +50,7 @@ static void sun3_get_hardware_list(struct seq_file *m)
4950
seq_printf(m, "PROM Revision:\t%s\n", romvec->pv_monid);
5051
}
5152

52-
void __init sun3_init(void)
53+
asmlinkage void __init sun3_init(void)
5354
{
5455
unsigned char enable_register;
5556
int i;

0 commit comments

Comments
 (0)