]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3363/1: [cleanup] process.c - fix warnings
authorBen Dooks <ben-linux@fluff.org>
Wed, 15 Mar 2006 23:17:23 +0000 (23:17 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 15 Mar 2006 23:17:23 +0000 (23:17 +0000)
commit4f967503b6bc32639aff60a78de03345cde294e9
treeaf4fdd8f5285498d7952a76b0a4dc6d909e43207
parent35c195bab847cd90b076e5cab25e2fca2351c99a
[ARM] 3363/1: [cleanup] process.c - fix warnings

Patch from Ben Dooks

Fix the following warnings from sparse:

arch/arm/kernel/process.c:86:6: warning: symbol 'default_idle' was not declared. Should it be static?
arch/arm/kernel/process.c:378:5: warning: symbol 'dump_fpu' was not declared.   Should it be static?

Include <linux/elfcore.h> for dump_fpu() decleration, and
make default_idle() static as it is not used outside the file.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/process.c