Skip to content

Commit

Permalink
[PATCH] uml: fix "reuse i386 cpu optimizations"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Oct 31, 2005
1 parent 96d55b8 commit b365157
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/um/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ config UID16
bool
default y

config RWSEM_GENERIC_SPINLOCK
bool
default y

config GENERIC_CALIBRATE_DELAY
bool
default y
Expand Down
5 changes: 5 additions & 0 deletions arch/um/Kconfig.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b365157

Please sign in to comment.