diff options
author | Christoph Hellwig <[email protected]> | 2009-08-10 11:32:44 -0300 |
---|---|---|
committer | Felix Blyakher <[email protected]> | 2009-08-12 01:08:27 -0500 |
commit | a8914f3a6d72c97328597a556a99daaf5cc288ae (patch) | |
tree | 95f569b102f56dfa70cfb8019ef63be8ee828fc1 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | b89d4208de3de442c9025919c4261be0b38e79a4 (diff) |
xfs: fix spin_is_locked assert on uni-processor builds
Without SMP or preemption spin_is_locked always returns false,
so we can't do an assert with it. Instead use assert_spin_locked,
which does the right thing on all builds.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Reported-by: Johannes Engel <[email protected]>
Tested-by: Johannes Engel <[email protected]>
Signed-off-by: Felix Blyakher <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions