[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181108234409.21199-2-paul.burton@mips.com>
Date: Thu, 8 Nov 2018 23:44:56 +0000
From: Paul Burton <paul.burton@...s.com>
To: "linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paul Burton <pburton@...ecomp.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Zhaoxiu Zeng <zhaoxiu.zeng@...il.com>
Subject: [PATCH 2/2] lib/gcd: Remove use of CPU_NO_EFFICIENT_FFS macro
The CPU_NO_EFFICIENT_FFS pre-processor macro is no longer used, with all
architectures toggling the equivalent Kconfig symbol
CONFIG_CPU_NO_EFFICIENT_FFS instead. Remove our check for the unused
macro.
Signed-off-by: Paul Burton <paul.burton@...s.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Zhaoxiu Zeng <zhaoxiu.zeng@...il.com>
---
lib/gcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gcd.c b/lib/gcd.c
index 227dea924425..7948ab27f0a4 100644
--- a/lib/gcd.c
+++ b/lib/gcd.c
@@ -10,7 +10,7 @@
* has decent hardware division.
*/
-#if !defined(CONFIG_CPU_NO_EFFICIENT_FFS) && !defined(CPU_NO_EFFICIENT_FFS)
+#if !defined(CONFIG_CPU_NO_EFFICIENT_FFS)
/* If __ffs is available, the even/odd algorithm benchmarks slower. */
--
2.19.1
Powered by blists - more mailing lists