diff options
author | Frank Blaschka <frank.blaschka@de.ibm.com> | 2010-05-11 19:34:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-16 00:50:11 -0700 |
commit | c4949f074332a64baeb2ead6ab9319ca37642f96 (patch) | |
tree | 185005280b499114ba872560efe21ec75b0ba726 /drivers/s390/net/qeth_core_main.c | |
parent | 65a1f898efac136aeea65509e61ac6cdecd4f6bf (diff) | |
download | op-kernel-dev-c4949f074332a64baeb2ead6ab9319ca37642f96.zip op-kernel-dev-c4949f074332a64baeb2ead6ab9319ca37642f96.tar.gz |
qeth: synchronize configuration interface
Synchronize access to the drivers configuration interface.
Also do not allow configuration changes during online/offline
transition.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_main.c')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 52096c9..fd1f48c 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -1100,6 +1100,7 @@ static int qeth_setup_card(struct qeth_card *card) spin_lock_init(&card->lock); spin_lock_init(&card->ip_lock); spin_lock_init(&card->thread_mask_lock); + mutex_init(&card->conf_mutex); card->thread_start_mask = 0; card->thread_allowed_mask = 0; card->thread_running_mask = 0; |