diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-05-17 01:25:45 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-19 06:01:28 +0400 |
commit | 958b7b0720f6f2463463e4f9000639c39a6f97f5 (patch) | |
tree | 79337b96ef7a5f3e16b3b64fa946b9ae9201d507 /arch/blackfin | |
parent | fcea8b27f985bc02fd7b040bbb5914227a0f49d7 (diff) | |
download | linux-958b7b0720f6f2463463e4f9000639c39a6f97f5.tar.xz |
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/blackfin')
0 files changed, 0 insertions, 0 deletions