CRIS: assignment/is equal confusion
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 8 Jun 2009 11:04:43 +0000 (13:04 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Mon, 8 Jun 2009 11:05:19 +0000 (13:05 +0200)
Somehow, the assignments of rw->lock got written as comparisons.
The effect probably was that the read-write spinlocks never locked.
However, since the locks are only used in CONFIG_SMP and SMP CRIS is
experimental, it has never been identified as a problem.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

No differences found