vt: bitlock fix
authorNick Piggin <npiggin@suse.de>
Wed, 6 Feb 2008 09:37:04 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:04 +0000 (10:41 -0800)
commitb0940003f25dd3d2c54c4879809a432a35197f54
tree13337fe5d5a758f4bf89510e81554a25fce19053
parent5bd91f18be2fc0dd0384fbfca6d3cdd79a8050dd
vt: bitlock fix

vt is missing a memory barrier to close the critical section.  Use a real
spinlock for this.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/vt.c