X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fs390%2Fcio%2Fdevice_id.c;h=9e5840fc6b21bfc631edd3f53d5bf0592d3e8d83;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f6cb8972884c096450c4fa94a7d3299d7e7031dd;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/s390/cio/device_id.c b/drivers/s390/cio/device_id.c index f6cb89728..9e5840fc6 100644 --- a/drivers/s390/cio/device_id.c +++ b/drivers/s390/cio/device_id.c @@ -36,7 +36,7 @@ diag210(struct diag210 * addr) * use a static data area to be sure */ static struct diag210 diag210_tmp; - static spinlock_t diag210_lock = SPIN_LOCK_UNLOCKED; + static DEFINE_SPINLOCK(diag210_lock); unsigned long flags; int ccode;