diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-08 13:05:09 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-23 18:24:12 +0100 |
commit | 2bbd7e9b74271b2d6a14b4840fc44afbea83774d (patch) | |
tree | 7666eeaeefe43a616ece6bf189a3be8fa78e9c35 /arch/arm/kernel/traps.c | |
parent | ARM: DMA: top-down allocation in DMA coherent region (diff) | |
download | linux-2bbd7e9b74271b2d6a14b4840fc44afbea83774d.tar.xz linux-2bbd7e9b74271b2d6a14b4840fc44afbea83774d.zip |
ARM: fix some sparse errors in generic ARM code
arch/arm/kernel/return_address.c:37:6: warning: symbol 'return_address' was not declared. Should it be static?
arch/arm/kernel/setup.c:76:14: warning: symbol 'processor_id' was not declared. Should it be static?
arch/arm/kernel/traps.c:259:1: warning: symbol 'die_lock' was not declared. Should it be static?
arch/arm/vfp/vfpmodule.c:156:6: warning: symbol 'vfp_raise_sigfpe' was not declared. Should it be static?
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index ee57640ba2bb..7f53c3651c58 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -256,7 +256,7 @@ static int __die(const char *str, int err, struct thread_info *thread, struct pt return ret; } -DEFINE_SPINLOCK(die_lock); +static DEFINE_SPINLOCK(die_lock); /* * This function is protected against re-entrancy. |