[PATCH v3 3/5] net: ep93xx_eth: allocate buffers using kmalloc()

David Miller davem at davemloft.net
Sat Jun 11 19:25:40 EDT 2011

From: Mika Westerberg <mika.westerberg at iki.fi>
Date: Sat, 11 Jun 2011 21:39:56 +0300

> 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 <mika.westerberg at iki.fi>
> Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
> Acked-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Tested-by: Petr Stetiar <ynezz at true.cz>


More information about the linux-arm-kernel mailing list