]> err.no Git - linux-2.6/commitdiff
[PATCH] uml: fix "reuse i386 cpu optimizations"
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sun, 30 Oct 2005 23:00:07 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:16 +0000 (17:37 -0800)
Remove RWSEM_GENERIC_SPINLOCK, it's now defined (only if needed) by the
underlying arch/i386/Kconfig.cpu.  Leave it only for x86_64.  Even there, it's
totally wrong, as they even have the code to support XCHG_ADD.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/Kconfig
arch/um/Kconfig.x86_64

index ceaf6e4d28559d63bda27e07cccf06b16befd783..cd06ed7d842d93d54f18886efcf512d5471c009d 100644 (file)
@@ -27,10 +27,6 @@ config UID16
        bool
        default y
 
-config RWSEM_GENERIC_SPINLOCK
-       bool
-       default y
-
 config GENERIC_CALIBRATE_DELAY
        bool
        default y
index bd35e59419c8b8ff88aeeb2277a74b875eacc6df..aae19bc4b06a7055e4f3742af315f2064f0575db 100644 (file)
@@ -6,6 +6,11 @@ config 64BIT
        bool
        default y
 
+#XXX: this is so in the underlying arch, but it's wrong!!!
+config RWSEM_GENERIC_SPINLOCK
+       bool
+       default y
+
 config SEMAPHORE_SLEEPERS
        bool
        default y