Commit b365157be3250a6b5948422ba65e05e5f964e150

Authored by Paolo 'Blaisorblade' Giarrusso
Committed by Linus Torvalds
1 parent 96d55b882b

[PATCH] uml: fix "reuse i386 cpu optimizations"

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>

Showing 2 changed files with 5 additions and 4 deletions Side-by-side Diff

... ... @@ -27,10 +27,6 @@
27 27 bool
28 28 default y
29 29  
30   -config RWSEM_GENERIC_SPINLOCK
31   - bool
32   - default y
33   -
34 30 config GENERIC_CALIBRATE_DELAY
35 31 bool
36 32 default y
arch/um/Kconfig.x86_64
... ... @@ -6,6 +6,11 @@
6 6 bool
7 7 default y
8 8  
  9 +#XXX: this is so in the underlying arch, but it's wrong!!!
  10 +config RWSEM_GENERIC_SPINLOCK
  11 + bool
  12 + default y
  13 +
9 14 config SEMAPHORE_SLEEPERS
10 15 bool
11 16 default y