Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: IP32: ip32_be_handler symbol is needlessly defined global

The file arch/mips/sgi-ip32/ip32-berr.c needlessly defines the function
ip32_be_handler() as global, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Dmitri Vorobiev and committed by
Ralf Baechle
36a09d78 1291417e

+1 -1
+1 -1
arch/mips/sgi-ip32/ip32-berr.c
··· 16 16 #include <asm/ptrace.h> 17 17 #include <asm/tlbdebug.h> 18 18 19 - int ip32_be_handler(struct pt_regs *regs, int is_fixup) 19 + static int ip32_be_handler(struct pt_regs *regs, int is_fixup) 20 20 { 21 21 int data = regs->cp0_cause & 4; 22 22