diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2015-03-02 09:59:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-03 08:37:24 +0100 |
commit | 0b6ddeecb52feb3da17585c5d076da0f67dde2a0 (patch) | |
tree | c3e2428c16741fbeb0a0257ee095d9fc62978462 /lib/gcd.c | |
parent | 603ba8c1ba906a66c71610b8a0a13375461565c2 (diff) | |
download | barebox-0b6ddeecb52feb3da17585c5d076da0f67dde2a0.tar.gz barebox-0b6ddeecb52feb3da17585c5d076da0f67dde2a0.tar.xz |
net: cpsw: prevent stray cache writeback
The cache should be invalidated when transfering ownership of a buffer
to the device. Otherwise the writeback of dirty cache lines can
corrupt the hardware written data.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions