diff options
author | Mika Westerberg <[email protected]> | 2011-06-11 08:39:56 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-06-11 16:25:15 -0700 |
commit | 3247a1fcee49b571b40c4bd723439ce5c64f56ad (patch) | |
tree | a84736c6e3522d42597f8501675fa845d586f473 /lib/cpu-notifier-error-inject.c | |
parent | fc9b4910b00039da054f221e2821be0519261101 (diff) |
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 <[email protected]>
Acked-by: Russell King <[email protected]>
Acked-by: H Hartley Sweeten <[email protected]>
Tested-by: Petr Stetiar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions