diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 18:17:13 +0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-10-30 18:16:46 +0400 |
commit | 638ad34a8811119b32247b7722288ef8b90907d1 (patch) | |
tree | 9153571e8de8f9247bb54f9baddb140fd5fa5684 /arch/s390/include/asm/spinlock.h | |
parent | e54aafa0c3bef84bfd39b4c713942ae7cdcfc58a (diff) | |
download | linux-638ad34a8811119b32247b7722288ef8b90907d1.tar.xz |
[S390] sparse: fix sparse warnings about missing prototypes
Add prototypes and includes for functions used in different modules.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/spinlock.h')
-rw-r--r-- | arch/s390/include/asm/spinlock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/spinlock.h b/arch/s390/include/asm/spinlock.h index 56612fc8186e..fd94dfec8d08 100644 --- a/arch/s390/include/asm/spinlock.h +++ b/arch/s390/include/asm/spinlock.h @@ -13,6 +13,8 @@ #include <linux/smp.h> +extern int spin_retry; + static inline int _raw_compare_and_swap(volatile unsigned int *lock, unsigned int old, unsigned int new) |