From: Giuseppe Cavallaro Date: Mon, 6 Sep 2010 03:02:11 +0000 (+0200) Subject: stmmac: fix sleep inside atomic X-Git-Tag: v2.6.36-rc4~6^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4433be6e19e3680727f3f89c938a22e7b789b43;p=pandora-kernel.git stmmac: fix sleep inside atomic We cannot use spinlock when kmalloc is invoked with GFP_KERNEL flag because it can sleep. So this patch reviews the usage of spinlock within the stmmac_resume function avoing this bug. Signed-off-by: Giuseppe Cavallaro Reported-by: Jiri Slaby Signed-off-by: David S. Miller --- Reading git-diff-tree failed