staging: unisys: add comment to spinlock in struct charqueue
Add a comment to the charqueue's spinlock to explain that it is a lock for the structure. Signed-off-by: Ken Depro <kenneth.depro@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ce572c96f8
commit
b0231f396e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
struct charqueue {
|
||||
int alloc_size;
|
||||
int nslots;
|
||||
spinlock_t lock;
|
||||
spinlock_t lock; /* read/write lock for this structure */
|
||||
int head, tail;
|
||||
unsigned char buf[0];
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue