commit | 04de0816173c86948b75da93a6344a0a02bbec4d | [log] [tgz] |
---|---|---|
author | Dominik Brodowski <linux@dominikbrodowski.net> | Tue Apr 20 14:49:01 2010 +0200 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Wed Apr 21 08:09:17 2010 +0200 |
tree | ed4b274c1ce5da03a9c37f5858a331529e5b150f | |
parent | 05ce7bfe547c9fa967d9cab6c37867a9cb6fb3fa [diff] |
pcmcia: pcmcia_dev_present bugfix pcmcia_dev_present is in and by itself buggy. Add a note specifying why it is broken, and replace the broken locking -- taking a mutex is a bad idea in IRQ context, from which this function is rarely called -- by an atomic_t. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>