commit | 8424e00dfd5282026a93996a165fc4079d382169 | [log] [tgz] |
---|---|---|
author | Jon Mason <jon.mason@exar.com> | Thu Nov 11 04:25:56 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 11 09:30:20 2010 -0800 |
tree | c427a353c8859c77b642d683e2911afb3a7d3afd | |
parent | ddd62726e0bc1ffe0ab791b647f4178161ab451b [diff] |
vxge: serialize access to steering control register It is possible for multiple callers to access the firmware interface for the same vpath simultaneously, resulting in uncertain output. Add locks to serialize access. Also, make functions only accessed locally static, thus requiring some movement of code blocks. Signed-off-by: Jon Mason <jon.mason@exar.com> Signed-off-by: Ram Vepa <ram.vepa@exar.com> Signed-off-by: David S. Miller <davem@davemloft.net>