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-Url: https://git.stricted.de/?a=commitdiff_plain;h=dbdb4c06b73599dc162b2cad1af304b498baa107;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 09f1c140a76..6d7173fc55a 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);