diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-06 04:36:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:00 -0500 |
commit | d9afa43532adf8a31b93c4c7601fda3f423d8972 (patch) | |
tree | 1f5cc6d5050af80b5015b536c8b4f4fe1b6dd3d5 /drivers/char/Kconfig | |
parent | 1c17d18e3775485bf1e0ce79575eb637a94494a2 (diff) |
riscom8: fix SMP brokenness
After analyzing the elements that save_flags/cli/sti/restore_flags were
protecting, convert their usages to a global spinlock (the easiest and
most obvious next-step). There were some usages of flags being
intentionally cached, because the code already knew the state of
interrupts. These have been taken into account.
This allows us to remove CONFIG_BROKEN_ON_SMP. Completely untested.
[akpm@linux-foundation.org: use DEFINE_SPINLOCK]
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 466629594776..eb5687beea91 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -276,7 +276,7 @@ config N_HDLC | |||
276 | 276 | ||
277 | config RISCOM8 | 277 | config RISCOM8 |
278 | tristate "SDL RISCom/8 card support" | 278 | tristate "SDL RISCom/8 card support" |
279 | depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP | 279 | depends on SERIAL_NONSTANDARD |
280 | help | 280 | help |
281 | This is a driver for the SDL Communications RISCom/8 multiport card, | 281 | This is a driver for the SDL Communications RISCom/8 multiport card, |
282 | which gives you many serial ports. You would need something like | 282 | which gives you many serial ports. You would need something like |