diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 21:39:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 07:12:25 +0200 |
commit | 8bdd5a1bdbf83577733c93c6aba9d65e1bc5158b (patch) | |
tree | 786fdba1caca574c430746d1a1c87df8d833fa95 /arch/sparc/kernel/kernel.h | |
parent | sparc32: fix sparse warnings in irq_32.c (diff) | |
download | linux-8bdd5a1bdbf83577733c93c6aba9d65e1bc5158b.tar.xz linux-8bdd5a1bdbf83577733c93c6aba9d65e1bc5158b.zip |
sparc32: fix sparse warnings in process_32.h
Fix following warnings:
process_32.c:67:6: warning: symbol 'arch_cpu_idle' was not declared. Should it be static?
process_32.c:257:16: warning: symbol 'sparc_do_fork' was not declared. Should it be static?
process_32.c:411:5: warning: symbol 'dump_fpu' was not declared. Should it be static?
Add missing includes and add one missing prototype.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r-- | arch/sparc/kernel/kernel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h index a702d9ab019c..a922753bb04f 100644 --- a/arch/sparc/kernel/kernel.h +++ b/arch/sparc/kernel/kernel.h @@ -95,6 +95,12 @@ extern void floppy_hardint(void); extern unsigned long sun4m_cpu_startup; extern unsigned long sun4d_cpu_startup; +/* process_32.c */ +asmlinkage int sparc_do_fork(unsigned long clone_flags, + unsigned long stack_start, + struct pt_regs *regs, + unsigned long stack_size); + #else /* CONFIG_SPARC32 */ #endif /* CONFIG_SPARC32 */ #endif /* !(__SPARC_KERNEL_H) */ |