]> err.no Git - linux-2.6/commit
[PATCH] uml: add locking to xtime accesses
authorJeff Dike <jdike@addtoit.com>
Fri, 30 Jun 2006 08:55:56 +0000 (01:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Jun 2006 18:25:37 +0000 (11:25 -0700)
commit572e614750c3ed27da1ec6b75dc486066a11fffd
tree50459d715a5145e43c7da1e0d87a85582258ca94
parent6edb08620fbeeeba81ab63c7129a51cdb3acd8b3
[PATCH] uml: add locking to xtime accesses

do_timer must be called with xtime_lock held.  I'm not sure boot_timer_handler
needs this, however I don't think it hurts: it simply disables irq and takes a
spinlock.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/time_kern.c