aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/spinlock.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-10-04 14:02:12 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-10-04 14:02:12 -0400
commit42e47eeb8fb3f9d2abe653cc7f185816068a057d (patch)
tree6c2564789cac15c949b03ed7ae123f697f0556b4 /include/asm-s390/spinlock.h
parent8abfe01dae8c0ed7ca6bfb153a7fcab47df72a52 (diff)
[S390] incorrect placement of include.
The include of linux/smp.h needs to be done before the #if that checks for the compiler version. Seems like fallout from the inline assembly cleanup patch vs. the directed yield patch. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/spinlock.h')
-rw-r--r--include/asm-s390/spinlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-s390/spinlock.h b/include/asm-s390/spinlock.h
index 6b78af16999b..3fd43826fd0b 100644
--- a/include/asm-s390/spinlock.h
+++ b/include/asm-s390/spinlock.h
@@ -11,10 +11,10 @@
11#ifndef __ASM_SPINLOCK_H 11#ifndef __ASM_SPINLOCK_H
12#define __ASM_SPINLOCK_H 12#define __ASM_SPINLOCK_H
13 13
14#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
15
16#include <linux/smp.h> 14#include <linux/smp.h>
17 15
16#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
17
18static inline int 18static inline int
19_raw_compare_and_swap(volatile unsigned int *lock, 19_raw_compare_and_swap(volatile unsigned int *lock,
20 unsigned int old, unsigned int new) 20 unsigned int old, unsigned int new)