From: Mika Westerberg Date: Sat, 11 Jun 2011 08:39:56 +0000 (+0000) Subject: net: ep93xx_eth: allocate buffers using kmalloc() X-Git-Tag: v3.0-rc3~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3247a1fcee49b571b40c4bd723439ce5c64f56ad;p=pandora-kernel.git net: ep93xx_eth: allocate buffers using kmalloc() We can use simply kmalloc() to allocate the buffers. This also simplifies the code and allows us to perform DMA sync operations more easily. Memory is allocated with only GFP_KERNEL since there are no DMA allocation restrictions on this platform. Signed-off-by: Mika Westerberg Acked-by: Russell King Acked-by: H Hartley Sweeten Tested-by: Petr Stetiar Signed-off-by: David S. Miller --- Reading git-diff-tree failed