virtio: console: rename cvq_lock to c_ivq_lock
authorAmit Shah <amit.shah@redhat.com>
Fri, 29 Mar 2013 11:00:07 +0000 (16:30 +0530)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Apr 2013 02:20:06 +0000 (03:20 +0100)
commit96c2c850f70859ae81f4680e35581592e2a4f4f6
tree004ad84ff07be5e12d0dfe511479e2dcc6d21c2c
parent22fa3230644f5b01a757c1324f382a5abfed5434
virtio: console: rename cvq_lock to c_ivq_lock

commit 165b1b8bbc17c9469b053bab78b11b7cbce6d161 upstream.

The cvq_lock was taken for the c_ivq.  Rename the lock to make that
obvious.

We'll also add a lock around the c_ovq in the next commit, so there's no
ambiguity.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Asias He <asias@redhat.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
[bwh: Backported to 3.2:
 - Adjust context
 - Drop change to virtcons_restore()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/char/virtio_console.c