2018-09-14 07:07:23

by Sergei Trofimovich

[permalink] [raw]
Subject: [PATCH] ia64: enable GENERIC_HWEIGHT

Noticed on a single driver failure:
ERROR: "__sw_hweight8" [drivers/net/wireless/mediatek/mt76/mt76.ko] undefined!

CC: Tony Luck <[email protected]>
CC: Fenghua Yu <[email protected]>
CC: [email protected]
CC: Andrew Morton <[email protected]>
CC: [email protected]
Signed-off-by: Sergei Trofimovich <[email protected]>
---
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



2018-10-15 19:15:49

by Sergei Trofimovich

[permalink] [raw]
Subject: Re: [PATCH] ia64: enable GENERIC_HWEIGHT

On Fri, 14 Sep 2018 08:06:46 +0100
Sergei Trofimovich <[email protected]> wrote:

> Noticed on a single driver failure:
> ERROR: "__sw_hweight8" [drivers/net/wireless/mediatek/mt76/mt76.ko] undefined!
>
> CC: Tony Luck <[email protected]>
> CC: Fenghua Yu <[email protected]>
> CC: [email protected]
> CC: Andrew Morton <[email protected]>
> CC: [email protected]
> Signed-off-by: Sergei Trofimovich <[email protected]>
> ---
> 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
>

Ping.

--

Sergei