summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/irq.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-09-06 19:10:48 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2013-09-07 11:58:03 +0200
commit63df41d663fc27e96571bfea86d3f9ee81289e07 (patch)
treea6d460af08dcbaf9e4e3e8d0e46678f10f836024 /arch/s390/kernel/irq.c
parent5b512beb0f18024e32e228976e3690d349b05b6a (diff)
downloadlinux-stable-63df41d663fc27e96571bfea86d3f9ee81289e07.tar.gz
linux-stable-63df41d663fc27e96571bfea86d3f9ee81289e07.tar.bz2
linux-stable-63df41d663fc27e96571bfea86d3f9ee81289e07.zip
s390: make various functions static, add declarations to header files
Make various functions static, add declarations to header files to fix a couple of sparse findings. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/irq.c')
-rw-r--r--arch/s390/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c
index 6834277124c9..6eba6fd8a8ec 100644
--- a/arch/s390/kernel/irq.c
+++ b/arch/s390/kernel/irq.c
@@ -206,7 +206,7 @@ struct ext_int_info {
};
/* ext_int_hash_lock protects the handler lists for external interrupts */
-DEFINE_SPINLOCK(ext_int_hash_lock);
+static DEFINE_SPINLOCK(ext_int_hash_lock);
static inline int ext_hash(u16 code)
{