x86: fix uml with generic find_next_bit for x86

From: Alexander van Heukelum
Date: Thu Mar 13 2008 - 13:56:16 EST


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 <heukelum@xxxxxxxxxxx>

---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/