diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-10-12 06:00:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-13 06:54:05 (GMT) |
commit | 8728327e7a7a7f21f3a7109e65503f4cc3305e78 (patch) | |
tree | b06e9fa0da9176043652be8096c6d672b53a971b /drivers/edac/cell_edac.c | |
parent | 8a102fe001cc016dabcc392247a2b008e37ffe6a (diff) | |
download | linux-fsl-qoriq-8728327e7a7a7f21f3a7109e65503f4cc3305e78.tar.xz |
gianfar: Factor out gfar_init_bds() from gfar_alloc_skb_resources()
After hibernation we want to just reinitialize BDs, no need to allocate
anything. So, factor out BDs initialization code from
gfar_alloc_skb_resourses().
Also, teach gfar_init_bds() to reuse already allocated RX SKBs, i.e.
just call gfar_init_rxbdp() if a SKB was already allocated and mapped.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/edac/cell_edac.c')
0 files changed, 0 insertions, 0 deletions