s390/cmpxchg: select HAVE_CMPXCHG_LOCAL option
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 29 May 2012 09:21:27 +0000 (11:21 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 May 2012 07:07:59 +0000 (09:07 +0200)
Now that hopefully all cmpxchg/xchg bugs have been fixed select
HAVE_CMPXCHG_LOCAL option which uncovered a couple of bugs on s390.

The only call site which is affected seems to be within mm/vmstat.c.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig

index e16390c0bca80d356a6fdfb7b5aac57a10fc664e..57c86da61c19283ea00fe3dc6acdccba1010990d 100644 (file)
@@ -93,6 +93,7 @@ config S390
        select ARCH_SAVE_PAGE_KEYS if HIBERNATION
        select HAVE_MEMBLOCK
        select HAVE_MEMBLOCK_NODE_MAP
+       select HAVE_CMPXCHG_LOCAL
        select ARCH_DISCARD_MEMBLOCK
        select ARCH_INLINE_SPIN_TRYLOCK
        select ARCH_INLINE_SPIN_TRYLOCK_BH