Skip to content

Commit e6057a6

Browse files
sravnborgandreas-gaisler
authored andcommitted
sparc64: Fix prototype warning for alloc_irqstack_bootmem
Fix the following warning: arch/sparc/kernel/setup_64.c:602:13: warning: no previous prototype for ‘alloc_irqstack_bootmem’ The function alloc_irqstack_bootmem had no users outside setup_64.c so declare it static. Signed-off-by: Sam Ravnborg <[email protected]> Cc: Andreas Larsson <[email protected]> Cc: David S. Miller <[email protected]> Reviewed-by: Andreas Larsson <[email protected]> Tested-by: Andreas Larsson <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andreas Larsson <[email protected]>
1 parent 39e5611 commit e6057a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sparc/kernel/setup_64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ static void __init init_sparc64_elf_hwcap(void)
599599
pause_patch();
600600
}
601601

602-
void __init alloc_irqstack_bootmem(void)
602+
static void __init alloc_irqstack_bootmem(void)
603603
{
604604
unsigned int i, node;
605605

0 commit comments

Comments
 (0)