diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 21:39:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 07:12:26 +0200 |
commit | 9edfae3f69273c75905b24a445568f9e05ab0b2d (patch) | |
tree | d9fe73c439c3c6409e887a1e4f7c0edd8b2666f3 /arch/sparc/include | |
parent | sparc32: fix sparse warning in ptrace_32.c (diff) | |
download | linux-9edfae3f69273c75905b24a445568f9e05ab0b2d.tar.xz linux-9edfae3f69273c75905b24a445568f9e05ab0b2d.zip |
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>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/setup.h b/arch/sparc/include/asm/setup.h index 622145bf2e9a..fb54505e008e 100644 --- a/arch/sparc/include/asm/setup.h +++ b/arch/sparc/include/asm/setup.h @@ -42,6 +42,9 @@ extern unsigned long cmdline_memory_size; /* devices.c */ void __init device_scan(void); +/* unaligned_32.c */ +unsigned long safe_compute_effective_address(struct pt_regs *, unsigned int); + #endif extern void sun_do_break(void); |