Commit cb629a01 authored by Milind Arun Choudhary's avatar Milind Arun Choudhary Committed by Martin Schwidefsky

[S390] SPIN_LOCK_UNLOCKED cleanup in drivers/s390

SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead.
Signed-off-by: default avatarMilind Arun Choudhary <milindchoudhary@gmail.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 39ce010d
...@@ -125,7 +125,7 @@ static struct vmlogrdr_priv_t sys_ser[] = { ...@@ -125,7 +125,7 @@ static struct vmlogrdr_priv_t sys_ser[] = {
.recording_name = "EREP", .recording_name = "EREP",
.minor_num = 0, .minor_num = 0,
.buffer_free = 1, .buffer_free = 1,
.priv_lock = SPIN_LOCK_UNLOCKED, .priv_lock = __SPIN_LOCK_UNLOCKED(sys_ser[0].priv_lock),
.autorecording = 1, .autorecording = 1,
.autopurge = 1, .autopurge = 1,
}, },
...@@ -134,7 +134,7 @@ static struct vmlogrdr_priv_t sys_ser[] = { ...@@ -134,7 +134,7 @@ static struct vmlogrdr_priv_t sys_ser[] = {
.recording_name = "ACCOUNT", .recording_name = "ACCOUNT",
.minor_num = 1, .minor_num = 1,
.buffer_free = 1, .buffer_free = 1,
.priv_lock = SPIN_LOCK_UNLOCKED, .priv_lock = __SPIN_LOCK_UNLOCKED(sys_ser[1].priv_lock),
.autorecording = 1, .autorecording = 1,
.autopurge = 1, .autopurge = 1,
}, },
...@@ -143,7 +143,7 @@ static struct vmlogrdr_priv_t sys_ser[] = { ...@@ -143,7 +143,7 @@ static struct vmlogrdr_priv_t sys_ser[] = {
.recording_name = "SYMPTOM", .recording_name = "SYMPTOM",
.minor_num = 2, .minor_num = 2,
.buffer_free = 1, .buffer_free = 1,
.priv_lock = SPIN_LOCK_UNLOCKED, .priv_lock = __SPIN_LOCK_UNLOCKED(sys_ser[2].priv_lock),
.autorecording = 1, .autorecording = 1,
.autopurge = 1, .autopurge = 1,
} }
......
...@@ -476,7 +476,7 @@ struct cmb_area { ...@@ -476,7 +476,7 @@ struct cmb_area {
}; };
static struct cmb_area cmb_area = { static struct cmb_area cmb_area = {
.lock = SPIN_LOCK_UNLOCKED, .lock = __SPIN_LOCK_UNLOCKED(cmb_area.lock),
.list = LIST_HEAD_INIT(cmb_area.list), .list = LIST_HEAD_INIT(cmb_area.list),
.num_channels = 1024, .num_channels = 1024,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment