From: Daniel J Blueman Date: Wed, 18 May 2011 23:31:31 +0000 (-0700) Subject: x86, ioapic: Fix potential resume deadlock X-Git-Tag: v3.0-rc1~334^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64ce24daffb634b5b3133a2e411bd4de50654e8;p=pandora-kernel.git x86, ioapic: Fix potential resume deadlock Fix a potential deadlock when resuming; here the calling function has disabled interrupts, so we cannot sleep. Change the memory allocation flag from GFP_KERNEL to GFP_ATOMIC. TODO: We can do away with this memory allocation during resume by reusing the ioapic suspend/resume code that uses boot time allocated buffers, but we want to keep this -stable patch simple. Signed-off-by: Daniel J Blueman Signed-off-by: Suresh Siddha Cc: # v2.6.38/39 Link: http://lkml.kernel.org/r/20110518233157.385970138@sbsiddha-MOBL3.sc.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed