From: brenohl@br.ibm.com Date: Mon, 26 Sep 2011 10:11:03 +0000 (+0000) Subject: ehea: Remove sleep at .ndo_get_stats X-Git-Tag: v3.2-rc1~129^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aefcad8666e0c7c1aff51c0dacc164a1b681895;p=pandora-kernel.git ehea: Remove sleep at .ndo_get_stats Currently ehea ndo_get_stats can sleep in two places, in a hcall and in a GFP_KERNEL alloc, which is not correct. This patch creates a delayed workqueue that grabs the information each 1 sec from the hardware, and place it into the device structure, so that, .ndo_get_stats quickly returns the device structure statistics block. Signed-off-by: Breno Leitao Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed