diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-06-17 20:37:30 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 20:37:30 -0700 |
commit | b3589fd49067bab9fe0c60430860e6befbd5ba37 (patch) | |
tree | be054dba4fd5d39e4af03d18e1d57d3b88033ca7 /drivers/mtd/nand/s3c2410.c | |
parent | 549c5fc2c8149498118f2494a1b6a4938ca05985 (diff) |
IB/srp: Change target_mutex to a spinlock
The SRP driver never sleeps while holding target_mutex, and it's just
used to protect some simple list operations, so hold times will be
short. So just convert it to a spinlock, which is smaller and faster.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
0 files changed, 0 insertions, 0 deletions