diff options
| author | Christoph Hellwig <hch@lst.de> | 2009-08-10 18:32:44 +0400 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-08-12 01:05:25 +0400 |
| commit | 79dd43bb85d64ba14a781f940c858d7bbe8c9a6d (patch) | |
| tree | 418197bfdebdf3fea0cad4be301ccbd0d3d2d5cb /tools/perf/scripts/python | |
| parent | 16715dbe64ccac265010ab8b60848d212d002521 (diff) | |
| download | linux-79dd43bb85d64ba14a781f940c858d7bbe8c9a6d.tar.xz | |
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 <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reported-by: Johannes Engel <jcnengel@googlemail.com>
Tested-by: Johannes Engel <jcnengel@googlemail.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
