aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/lib
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2007-04-01 23:49:51 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-02 10:06:09 -0700
commitf991519c197534811046e5e47389b6fafcdf1e48 (patch)
treea8df0ce3aafc97968a354e736305a3fc807f1dea /arch/i386/lib
parent[PATCH] Fix microcode-related suspend problem (diff)
downloadlinux-dev-f991519c197534811046e5e47389b6fafcdf1e48.tar.xz
linux-dev-f991519c197534811046e5e47389b6fafcdf1e48.zip
[PATCH] vt: fix potential race in VT_WAITACTIVE handler
On a multiprocessor machine the VT_WAITACTIVE ioctl call may return 0 if fg_console has already been updated in redraw_screen() but the console switch itself hasn't been completed. Fix this by checking fg_console in vt_waitactive() with the console sem held. Signed-off-by: Michal Januszewski <spock@gentoo.org> Acked-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/i386/lib')
0 files changed, 0 insertions, 0 deletions