From: Paolo 'Blaisorblade' Giarrusso Date: Tue, 11 Apr 2006 05:53:39 +0000 (-0700) Subject: [PATCH] uml: local_irq_save, not local_save_flags X-Git-Tag: v2.6.17-rc2~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbdb4c06b73599dc162b2cad1af304b498baa107;p=platform%2Fkernel%2Flinux-3.10.git [PATCH] uml: local_irq_save, not local_save_flags The call to local_save_flags seems bogus since it is followed by local_irq_restore, and it's intended to lock the list from concurrent mconsole_interrupt invocations. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 09f1c14..6d7173f 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -62,7 +62,7 @@ static void mc_work_proc(void *unused) unsigned long flags; while(!list_empty(&mc_requests)){ - local_save_flags(flags); + local_irq_save(flags); req = list_entry(mc_requests.next, struct mconsole_entry, list); list_del(&req->list);