From: Heiko Carstens Date: Tue, 29 May 2012 09:21:27 +0000 (+0200) Subject: s390/cmpxchg: select HAVE_CMPXCHG_LOCAL option X-Git-Tag: upstream/snapshot3+hdmi~7324^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e30db9522837e2a5d30ce1e66afb0a7ee0ff350;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git s390/cmpxchg: select HAVE_CMPXCHG_LOCAL option 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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index e16390c..57c86da 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -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