sparc32: fix sparse warnings in unaligned_32.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:38 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:26 +0000 (01:12 -0400)
commit9edfae3f69273c75905b24a445568f9e05ab0b2d
treed9fe73c439c3c6409e887a1e4f7c0edd8b2666f3
parentc8c8782d8993a7a340515384c00a8ab4b6bd880a
sparc32: fix sparse warnings in unaligned_32.c

Fix following warnings:
unaligned_32.c:146:15: warning: symbol 'safe_compute_effective_address' was not declared. Should it be static?
unaligned_32.c:235:17: warning: symbol 'kernel_unaligned_trap' was not declared. Should it be static?
unaligned_32.c:319:17: warning: symbol 'user_unaligned_trap' was not declared. Should it be static?

Add proper declarations in kernel.h + setup.h

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/setup.h
arch/sparc/kernel/kernel.h
arch/sparc/kernel/unaligned_32.c
arch/sparc/mm/fault_32.c