diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-05-16 23:25:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-18 19:01:28 -0700 |
commit | 958b7b0720f6f2463463e4f9000639c39a6f97f5 (patch) | |
tree | 79337b96ef7a5f3e16b3b64fa946b9ae9201d507 /arch/sparc/math-emu | |
parent | fcea8b27f985bc02fd7b040bbb5914227a0f49d7 (diff) | |
download | op-kernel-dev-958b7b0720f6f2463463e4f9000639c39a6f97f5.zip op-kernel-dev-958b7b0720f6f2463463e4f9000639c39a6f97f5.tar.gz |
sparc32: fix sparse warnings in sys_sparc_32.c
Fix following warnings:
sys_sparc_32.c:32:26: warning: symbol 'sys_getpagesize' was not declared. Should it be static?
sys_sparc_32.c:71:16: warning: symbol 'sparc_pipe' was not declared. Should it be static?
sys_sparc_32.c:96:26: warning: symbol 'sys_mmap2' was not declared. Should it be static?
sys_sparc_32.c:106:26: warning: symbol 'sys_mmap' was not declared. Should it be static?
sys_sparc_32.c:114:6: warning: symbol 'sparc_remap_file_pages' was not declared. Should it be static?
sys_sparc_32.c:127:1: warning: symbol 'c_sys_nis_syscall' was not declared. Should it be static?
sys_sparc_32.c:144:1: warning: symbol 'sparc_breakpoint' was not declared. Should it be static?
sys_sparc_32.c:200:16: warning: symbol 'sys_getdomainname' was not declared. Should it be static?
Adapt systbls.h for use by both sparc32 + sparc64.
In the process modify the return type of a few functions.
Change return type from unsigned long to long:
sys_mmap2()
sys_mmap()
Change return type from int to long:
sparc_pipe()
sys_getdomainname()
The changed return type was done to align with sparc64.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/math-emu')
0 files changed, 0 insertions, 0 deletions