2006-02-21 03:48:36

by Akinobu Mita

[permalink] [raw]
Subject: [-mm patch 5/8] um: fix undefined reference to hweight32

Build fix for user mode linux.

Signed-off-by: Akinobu Mita <[email protected]>
Cc: Jeff Dike <[email protected]>

arch/um/Kconfig.i386 | 5 +++++
arch/um/Kconfig.x86_64 | 5 +++++
2 files changed, 10 insertions(+)

Index: 2.6-mm/arch/um/Kconfig.i386
===================================================================
--- 2.6-mm.orig/arch/um/Kconfig.i386
+++ 2.6-mm/arch/um/Kconfig.i386
@@ -52,3 +52,8 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y
+
+config GENERIC_HWEIGHT
+ bool
+ default y
+
Index: 2.6-mm/arch/um/Kconfig.x86_64
===================================================================
--- 2.6-mm.orig/arch/um/Kconfig.x86_64
+++ 2.6-mm/arch/um/Kconfig.x86_64
@@ -46,3 +46,8 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
config SMP_BROKEN
bool
default y
+
+config GENERIC_HWEIGHT
+ bool
+ default y
+

--


2006-02-21 21:27:58

by Jeff Dike

[permalink] [raw]
Subject: Re: [-mm patch 5/8] um: fix undefined reference to hweight32

On Tue, Feb 21, 2006 at 12:46:33PM +0900, Akinobu Mita wrote:
> Build fix for user mode linux.
>
> Signed-off-by: Akinobu Mita <[email protected]>
> Cc: Jeff Dike <[email protected]>

Acked-by: Jeff Dike <[email protected]>