arch/x86: all x86 but i386 has atomics operations
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 17 Aug 2014 19:30:01 +0000 (21:30 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Aug 2014 09:03:16 +0000 (11:03 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.x86

index 327aff06b0fe72113e682948b7bca8a2b343ae5b..9aa4ea20124e42285a45201bd10fe64be6529d2a 100644 (file)
@@ -202,6 +202,9 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "LITTLE"
 
+config BR2_ARCH_HAS_ATOMICS
+       default y if !BR2_x86_i386
+
 config BR2_GCC_TARGET_TUNE
        default "i386"          if BR2_x86_i386
        default "i486"          if BR2_x86_i486