]> git.baikalelectronics.ru Git - kernel.git/commit
rapidio: add switch locking during discovery
authorAlexandre Bounine <alexandre.bounine@idt.com>
Wed, 26 May 2010 21:43:58 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:50 +0000 (09:12 -0700)
commit1a03fb63d86b0b58dcd252cbfd73fd7a1b25c020
tree8b21086dea9e3667bdb8f0843a3b50464d61e62f
parent670745c1347133b1ab53c5384b58e6b415e191b9
rapidio: add switch locking during discovery

Add switch access locking during RapidIO discovery.  Access lock is
required when reading switch routing table contents due to indexed
mechanism of RT addressing.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Tested-by: Thomas Moll <thomas.moll@sysgo.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rapidio/rio-scan.c