Subject: x86: fix uml with generic find_next_bit for x86

x86: fix uml with generic find_next_bit for x86

This fixes uml breakage I introduced in "change x86 to use
generic find_next_bit", which is now in x86-testing.

Signed-off-by: Alexander van Heukelum <[email protected]>

---

Hello Ingo,

My patch "change x86 to use generic find_next_bit" broke
uml builds. Here is what should be added to that patch
to get it to work for uml too.

Greetings,
Alexander

arch/um/Kconfig.i386 | 4 ++++
arch/um/Kconfig.x86_64 | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/um/Kconfig.i386 b/arch/um/Kconfig.i386
index 3cd8a04..164d29c 100644
--- a/arch/um/Kconfig.i386
+++ b/arch/um/Kconfig.i386
@@ -43,6 +43,10 @@ config ARCH_REUSE_HOST_VSYSCALL_AREA
bool
default y

+config GENERIC_FIND_NEXT_BIT
+ bool
+ default y
+
config GENERIC_HWEIGHT
bool
default y
diff --git a/arch/um/Kconfig.x86_64 b/arch/um/Kconfig.x86_64
index 6533b34..a29f545 100644
--- a/arch/um/Kconfig.x86_64
+++ b/arch/um/Kconfig.x86_64
@@ -31,6 +31,10 @@ config SMP_BROKEN
bool
default y

+config GENERIC_FIND_NEXT_BIT
+ bool
+ default y
+
config GENERIC_HWEIGHT
bool
default y


2008-03-21 13:01:42

by Ingo Molnar

[permalink] [raw]
Subject: Re: x86: fix uml with generic find_next_bit for x86


* Alexander van Heukelum <[email protected]> wrote:

> This fixes uml breakage I introduced in "change x86 to use generic
> find_next_bit", which is now in x86-testing.

thanks, applied.

Ingo