From: Jeff Dike Date: Thu, 29 Mar 2007 08:20:30 +0000 (-0700) Subject: [PATCH] uml: irq locking fixes X-Git-Tag: v2.6.21-rc6~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3076212f8d3d9fe4d7b11c6b560c0f424edfcb4e;p=pandora-kernel.git [PATCH] uml: irq locking fixes As the comment immediately preceding this points out, this list is changed in irq context, so it needs to be protected with spin_lock_irqsave in process context when it is processed. Sometimes, gcc should just compile the comments and forget the code. The IRQ side of this was better, in the sense that it blocked and unblocked interrupts, but it still should have saved and restored them. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed