arm64: Add support ARCH_SUPPORTS_INT128
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 21 Jun 2016 06:55:23 +0000 (14:55 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Jun 2016 15:12:57 +0000 (16:12 +0100)
The gcc support __SIZEOF_INT128__ and __int128 in arm64, thus,
enable ARCH_SUPPORTS_INT128 to make mul_u64_u32_shr() a bit
more efficient in scheduler.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig

index 5a0a691d4220a60aab7a1ef2251f8ba85ddffe2a..ab319eb750d32b26919f7290da73c2f40b6fe419 100644 (file)
@@ -11,6 +11,7 @@ config ARM64
        select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
        select ARCH_USE_CMPXCHG_LOCKREF
        select ARCH_SUPPORTS_ATOMIC_RMW
+       select ARCH_SUPPORTS_INT128
        select ARCH_SUPPORTS_NUMA_BALANCING
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select ARCH_WANT_COMPAT_IPC_PARSE_VERSION