Ralf Baechle
5095202603
[MIPS] Fix bug in atomic_sub_if_positive.
...
The branch optimization fixes in 2.6.21 introduced a bug in
atomic_sub_if_positive that causes it to return even when the sc
instruction fails. The result is that e.g. down_trylock becomes unreliable
as the semaphore counter is not always decremented.
Original MUA-shredded patch from Morten Larsen <mlarsen@broadcom.com>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-07-04 08:22:15 +01:00
..
2008-04-28 17:14:32 +01:00
2008-01-29 10:14:55 +00:00
2007-11-26 17:26:13 +00:00
2008-04-28 17:14:31 +01:00
2008-06-16 15:14:48 +01:00
2008-06-16 15:14:46 +01:00
2008-01-29 10:15:00 +00:00
2008-05-12 16:46:55 +01:00
2008-02-03 16:57:20 +02:00
2008-04-28 17:14:31 +01:00
2008-04-28 17:14:32 +01:00
2008-01-29 10:14:58 +00:00
2007-11-02 16:13:48 +00:00
2008-03-12 14:14:41 +00:00
2008-03-12 14:14:42 +00:00
2008-05-12 16:46:55 +01:00
2007-11-02 16:13:48 +00:00
2008-02-03 16:57:20 +02:00
2008-04-28 17:14:26 +01:00
2008-01-29 10:15:01 +00:00
2008-02-03 16:57:20 +02:00
2008-01-29 10:14:58 +00:00
2008-02-03 16:57:20 +02:00
2008-01-29 10:14:58 +00:00
2008-04-28 17:14:31 +01:00
2008-04-28 08:58:30 -07:00
2008-02-08 09:22:29 -08:00
2008-01-29 10:14:55 +00:00
2008-01-29 10:14:58 +00:00
2008-07-04 08:22:15 +01:00
2008-05-12 16:46:55 +01:00
2008-01-29 10:14:59 +00:00
2008-01-29 10:14:54 +00:00
2008-04-07 22:31:04 +01:00
2008-01-15 01:04:42 +00:00
2008-04-28 17:14:26 +01:00
2008-02-07 08:42:30 -08:00
2008-02-03 16:32:51 +02:00
2008-05-12 16:46:52 +01:00
2007-12-01 00:39:37 +00:00
2008-06-16 15:14:48 +01:00
2008-04-28 17:14:26 +01:00
2008-01-29 10:14:55 +00:00
2008-05-01 08:03:58 -07:00
2008-01-29 10:14:58 +00:00
2008-04-28 17:14:32 +01:00
2008-02-07 08:42:30 -08:00
2008-01-29 10:15:00 +00:00
2008-04-30 08:29:52 -07:00
2008-04-28 17:14:26 +01:00
2008-06-16 15:14:48 +01:00
2008-03-12 14:14:42 +00:00
2007-11-26 17:26:13 +00:00
2008-04-28 17:14:25 +01:00
2008-04-02 15:28:18 -07:00
2008-04-28 17:14:26 +01:00
2008-01-29 10:14:59 +00:00
2008-06-05 18:13:15 +01:00
2008-02-08 09:22:42 -08:00
2008-02-08 09:22:42 -08:00
2008-04-28 17:14:25 +01:00
2008-06-16 15:14:47 +01:00
2008-06-05 18:13:14 +01:00
2008-02-08 09:22:34 -08:00
2008-02-08 09:22:29 -08:00
2008-04-28 17:14:26 +01:00
2008-01-29 10:14:57 +00:00
2008-06-05 18:13:16 +01:00
2008-04-17 10:42:34 -04:00
2008-04-28 17:14:26 +01:00
2008-01-29 10:14:57 +00:00
2008-01-22 00:35:23 +00:00
2008-04-28 17:14:26 +01:00
2008-04-28 17:14:26 +01:00
2008-02-19 17:01:34 +00:00
2008-01-31 19:27:19 -08:00
2008-01-29 10:14:55 +00:00
2007-11-29 09:24:53 -08:00
2008-03-12 14:14:42 +00:00
2007-11-15 23:21:49 +00:00
2008-01-29 10:14:57 +00:00
2008-04-28 17:14:32 +01:00
2008-04-28 17:14:31 +01:00
2007-10-29 19:35:35 +00:00
2008-05-04 14:45:55 -07:00
2008-01-29 10:14:55 +00:00
2008-04-29 08:06:27 -07:00
2008-02-19 17:01:31 +00:00
2008-02-07 08:42:30 -08:00
2008-01-29 10:14:54 +00:00