From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Trofimovich Date: Fri, 14 Sep 2018 07:06:46 +0000 Subject: [PATCH] ia64: enable GENERIC_HWEIGHT Message-Id: <20180914070646.29273-1-slyfox@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tony Luck Cc: Sergei Trofimovich , Fenghua Yu , linux-ia64@vger.kernel.org, Andrew Morton , linux-kernel@vger.kernel.org Noticed on a single driver failure: ERROR: "__sw_hweight8" [drivers/net/wireless/mediatek/mt76/mt76.ko] undefined! CC: Tony Luck CC: Fenghua Yu CC: linux-ia64@vger.kernel.org CC: Andrew Morton CC: linux-kernel@vger.kernel.org Signed-off-by: Sergei Trofimovich --- arch/ia64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 8b4a0c1748c0..1a71f92f0b8e 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -576,3 +576,7 @@ config MSPEC If you have an ia64 and you want to enable memory special operations support (formerly known as fetchop), say Y here, otherwise say N. + +config GENERIC_HWEIGHT + bool + default y -- 2.19.0