Roel Kluin fff9c81529 MIPS: Octeon: False positive timeout
If we reach the test just below the loop with a `timeout' value of 0,
this does not mean that the timeout caused the loop to end, but rather
the `smi_rd.s.pending', in the last iteration. If timeout caused the
loop to end, then `timeout' is -1, not 0.

Since this can occur only in the last iteration, it is not very likely
to be a problem. By changing the post- to prefix decrement we ensure
that a timeout of 0 does mean it timed out.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-09-17 20:07:41 +02:00
..
2009-09-11 02:33:59 -04:00
2009-08-02 12:54:22 -07:00
2009-08-15 12:58:45 +09:00
2009-09-14 19:01:37 +02:00
2009-08-23 00:03:00 +02:00
2009-09-01 01:13:16 -07:00
2009-08-04 20:31:32 +02:00
2009-09-15 09:50:48 -07:00
2009-08-26 20:06:52 -07:00
2009-09-15 09:37:12 -07:00
2009-09-12 12:04:37 +01:00
2009-09-12 12:04:37 +01:00
2009-09-09 11:19:00 -04:00
2009-07-30 16:03:45 +09:30