arch: remove BR2_ARCH_HAS_ATOMICS option
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Feb 2016 15:31:32 +0000 (16:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 10:16:00 +0000 (11:16 +0100)
Now that BR2_ARCH_HAS_ATOMICS is no longer used anywhere, we can
remove it from arch/Config.in*, as well as from the documentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
14 files changed:
arch/Config.in
arch/Config.in.aarch64
arch/Config.in.arc
arch/Config.in.arm
arch/Config.in.bfin
arch/Config.in.m68k
arch/Config.in.microblaze
arch/Config.in.mips
arch/Config.in.nios2
arch/Config.in.powerpc
arch/Config.in.sh
arch/Config.in.x86
arch/Config.in.xtensa
docs/manual/adding-packages-directory.txt

index 4cdd54e251f7bcfee0a41209eb3cf5e542c70243..401bd28e86e39885fcbe568f5051a238ec890d7b 100644 (file)
@@ -284,10 +284,6 @@ config BR2_GCC_TARGET_FLOAT_ABI
 config BR2_GCC_TARGET_MODE
        string
 
-# If the architecture has atomic operations, select this:
-config BR2_ARCH_HAS_ATOMICS
-       bool
-
 # Must be selected by binary formats that support shared libraries.
 config BR2_BINFMT_SUPPORTS_SHARED
        bool
index 325bcccda26653e1c08d600fc540908499815b0a..34cd409a5924cc78df439b3fd21b198a5e80f5a2 100644 (file)
@@ -5,6 +5,3 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "LITTLE" if BR2_aarch64
        default "BIG"    if BR2_aarch64_be
-
-config BR2_ARCH_HAS_ATOMICS
-       default y
index 7e0ad08425cbbc9db95383ed7ea354b85ee790e1..7d341f31366c5e46364b22f65b580454fe47d460 100644 (file)
@@ -21,9 +21,6 @@ config BR2_ARC_ATOMIC_EXT
        bool "Atomic extension (LLOCK/SCOND instructions)"
        default y if BR2_arc770d || BR2_archs38
 
-config BR2_ARCH_HAS_ATOMICS
-       default y if BR2_ARC_ATOMIC_EXT
-
 config BR2_ARCH
        default "arc"   if BR2_arcle
        default "arceb" if BR2_arceb
index 60cd3a7f874d883b66277e49c9b604e246234f54..2b34f42850cf5ef86a7aa1e5bfd4ee0308904dea 100644 (file)
@@ -426,9 +426,6 @@ config BR2_ENDIAN
        default "LITTLE" if BR2_arm
        default "BIG"    if BR2_armeb
 
-config BR2_ARCH_HAS_ATOMICS
-       default y
-
 config BR2_GCC_TARGET_CPU
        default "arm920t"       if BR2_arm920t
        default "arm922t"       if BR2_arm922t
index 0783969261a0841af2657c3771c6d19fcf33fb8b..415fc890d880e8828774f8f4ba48eb7eb8718b17 100644 (file)
@@ -68,9 +68,6 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "LITTLE"
 
-config BR2_ARCH_HAS_ATOMICS
-       default y
-
 config BR2_GCC_TARGET_CPU
        default bf606           if BR2_bf606
        default bf607           if BR2_bf607
index 6b868a1676f5fbbd7971494e8b80aa5ffce7ae9c..f40f97c43e8a8d6603f04d8ec9e8ee9b439f9a5b 100644 (file)
@@ -4,9 +4,6 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "BIG"
 
-config BR2_ARCH_HAS_ATOMICS
-       default y
-
 config BR2_GCC_TARGET_ARCH
        default "68000"         if BR2_m68k_68000
        default "68010"         if BR2_m68k_68010
index 7c21dfca8c9456fad0040390e9ee7f6447daf91d..2d4c1fec439d470be55ed4fcc6703e54b892cbea 100644 (file)
@@ -9,6 +9,3 @@ config BR2_ENDIAN
 config BR2_microblaze
        bool
        default y if BR2_microblazeel || BR2_microblazebe
-
-config BR2_ARCH_HAS_ATOMICS
-       default y
index 1e5d24de6ea00989dfffaba61cf6b875f7cc8cbf..fda1a1d7e7da4262e30dc0ebd882ccafe37da0ff 100644 (file)
@@ -67,9 +67,6 @@ config BR2_ENDIAN
        default "LITTLE"        if BR2_mipsel || BR2_mips64el
        default "BIG"           if BR2_mips || BR2_mips64
 
-config BR2_ARCH_HAS_ATOMICS
-       default y
-
 config BR2_GCC_TARGET_ARCH
        default "mips32"        if BR2_mips_32
        default "mips32r2"      if BR2_mips_32r2
index 7807769cfab18f2aa029ecfa0c36c3244d2c0fb2..ed638981aaa275e5dbecf49451b04862c3ba1abf 100644 (file)
@@ -3,6 +3,3 @@ config BR2_ARCH
 
 config BR2_ENDIAN
        default "LITTLE"
-
-config BR2_ARCH_HAS_ATOMICS
-       default y
index 8581a4d10d7aa08d3d5de6ba6e12b23b6865181b..09ac794d61b6582bcb3295b0e2900c76f74c1a1c 100644 (file)
@@ -164,9 +164,6 @@ config BR2_ENDIAN
        default "BIG"    if BR2_powerpc || BR2_powerpc64
        default "LITTLE" if BR2_powerpc64le
 
-config BR2_ARCH_HAS_ATOMICS
-       default y
-
 config BR2_GCC_TARGET_CPU
        default "401"           if BR2_powerpc_401
        default "403"           if BR2_powerpc_403
index 9f8f79c6ad901023d40a73c5ced97e67dfa555be..1bdea37cbc550601bc7f088e5b1951eca8b1bd87 100644 (file)
@@ -28,6 +28,3 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "LITTLE"        if BR2_sh4 || BR2_sh4a || BR2_sh64
        default "BIG"           if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb
-
-config BR2_ARCH_HAS_ATOMICS
-       default y
index 771c20f475438d664da0f1d9c12f69799704899a..7be814b8fa7938aef1fe3a234e99d6cb41c0ab49 100644 (file)
@@ -245,9 +245,6 @@ config BR2_ARCH
 config BR2_ENDIAN
        default "LITTLE"
 
-config BR2_ARCH_HAS_ATOMICS
-       default y if !BR2_x86_i386
-
 config BR2_GCC_TARGET_ARCH
        default "i386"          if BR2_x86_i386
        default "i486"          if BR2_x86_i486
index a0e18f1e669920556e75d28c037db401ec916505..fcb3dc926f923274aac379354f2152cb457548c8 100644 (file)
@@ -54,6 +54,3 @@ config BR2_ENDIAN
 
 config BR2_ARCH
        default "xtensa"        if BR2_xtensa
-
-config BR2_ARCH_HAS_ATOMICS
-       default y
index aa9f4e81f489122f83e8df962364d03e45cb7615..5537032dcd36d81f91ceb9ea4dd2fb8e3a492635 100644 (file)
@@ -274,11 +274,6 @@ use in the comment.
 ** Dependency symbol: +BR2_USE_MMU+
 ** Comment string: no comment to be added
 
-* Atomic instructions (whereby the architecture has instructions to
-  perform some operations atomically, like LOCKCMPXCHG on x86)
-** Dependency symbol: +BR2_ARCH_HAS_ATOMICS+
-** Comment string: no comment to be added
-
 * Gcc +__sync_*+ built-ins used for atomic operations. They are
   available in variants operating on 1 byte, 2 bytes, 4 bytes and 8
   bytes. Since different architectures support atomic operations on