Jeff Garzik d9afa43532 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>
2008-02-06 10:41:00 -08:00
..
2008-02-05 09:44:22 -08:00
2008-02-06 10:41:00 -08:00
2008-02-05 09:44:23 -08:00
2008-02-03 17:12:34 +02:00
2008-02-05 09:44:13 -08:00
2008-02-06 02:57:55 +01:00
2008-02-03 17:15:20 +02:00
2008-02-04 23:50:03 +11:00
2008-02-03 17:18:59 +02:00
2008-02-03 17:21:01 +02:00
2008-02-03 17:22:34 +02:00
2008-02-03 15:42:53 +02:00
2008-01-31 11:25:51 +11:00
2008-02-03 15:42:53 +02:00
2008-02-03 17:30:25 +02:00
2008-01-24 20:40:43 -08:00
2008-02-04 23:50:13 +11:00
2008-02-05 09:44:12 -08:00
2008-02-05 09:44:12 -08:00