diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 14:51:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 11:42:21 -0800 |
commit | ee024d494ab75426bc77e0c053700915f0a1a16d (patch) | |
tree | f679d17f39f8dc46836bdc72a6d74703943e121f /drivers/isdn/capi | |
parent | 5e88e6c4e8b044a1d275f1a599128b95046d2968 (diff) | |
download | blackbird-op-linux-ee024d494ab75426bc77e0c053700915f0a1a16d.tar.gz blackbird-op-linux-ee024d494ab75426bc77e0c053700915f0a1a16d.zip |
ALPHA: srmcons, fix racy singleton structure
The test and the assignment were racy. Make it really a singleton.
This is achieved by one global variable initialized at the module
init.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/isdn/capi')
0 files changed, 0 insertions, 0 deletions