]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] use inline assembly contraints available with gcc 3.3.3
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 26 Feb 2010 21:37:31 +0000 (22:37 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 26 Feb 2010 21:37:30 +0000 (22:37 +0100)
commita772f7d9ee4fd0dd503a13d9de3041de95bb7a3f
tree65da88589e2c95a4677090b570f49402e870e573
parent5dfd8dc6c851e1b2a421945443e0f00fadda3da0
[S390] use inline assembly contraints available with gcc 3.3.3

Drop support to compile the kernel with gcc versions older than 3.3.3.
This allows us to use the "Q" inline assembly contraint on some more
inline assemblies without duplicating a lot of complex code (e.g. __xchg
and __cmpxchg). The distinction for older gcc versions can be removed
which saves a few lines and simplifies the code.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/atomic.h
arch/s390/include/asm/bitops.h
arch/s390/include/asm/etr.h
arch/s390/include/asm/irqflags.h
arch/s390/include/asm/processor.h
arch/s390/include/asm/rwsem.h
arch/s390/include/asm/spinlock.h
arch/s390/include/asm/swab.h
arch/s390/include/asm/system.h
arch/s390/include/asm/timex.h
arch/s390/kernel/asm-offsets.c