EMAC driver: fix bug - invalidate data cache of new_skb->data range when cache is WB
authorAlexey Demin <bf53x@ya.ru>
Wed, 30 Jan 2008 08:52:27 +0000 (16:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2008 12:28:50 +0000 (04:28 -0800)
commit6e01d1a4b2f7110201e7fe16e561a721d76fab3e
tree183797360ae581a1bae01a45d3f34cb9a8471413
parent136492b275e0dd02d842b94507d66267d18d341c
EMAC driver: fix bug - invalidate data cache of new_skb->data range when cache is WB

It prevents overwritting new data from DMA.

Signed-off-by: Alexey Demin <bf53x@ya.ru>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c