summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-05-08 22:35:17 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-05-08 22:42:57 +0200
commit1efd48b3ae8f89a1d04f1e36be96764d7bf43ae9 (patch)
tree0d45e47c53d71390519b5890021417e3ec1b2b3b /fs
parent790864dcc2b3fe65355dd84ef8481e54b1bc61b6 (diff)
downloadop-kernel-dev-1efd48b3ae8f89a1d04f1e36be96764d7bf43ae9.zip
op-kernel-dev-1efd48b3ae8f89a1d04f1e36be96764d7bf43ae9.tar.gz
mmc: use lock instead of claim in debug check
As mmc_detect_change() can be called from irq context, using claim (which can sleep) is inherently unsafe. Use the host spinlock instead, which also is faster. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud