mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
[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 <blaisorblade@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
87276f721a
commit
dbdb4c06b7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue