Commit bfedba3b authored by Michael Ellerman's avatar Michael Ellerman Committed by David S. Miller

ibmveth: Use dcbf rather than dcbfl

When building for power4, newer binutils don't recognise the "dcbfl"
extended mnemonic.

dcbfl RA, RB is equivalent to dcbf RA, RB, 1.

Switch to "dcbf" to avoid the build error.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9525a3c3
...@@ -203,7 +203,7 @@ static inline void ibmveth_flush_buffer(void *addr, unsigned long length) ...@@ -203,7 +203,7 @@ static inline void ibmveth_flush_buffer(void *addr, unsigned long length)
unsigned long offset; unsigned long offset;
for (offset = 0; offset < length; offset += SMP_CACHE_BYTES) for (offset = 0; offset < length; offset += SMP_CACHE_BYTES)
asm("dcbfl %0,%1" :: "b" (addr), "r" (offset)); asm("dcbf %0,%1,1" :: "b" (addr), "r" (offset));
} }
/* replenish the buffers for a pool. note that we don't need to /* replenish the buffers for a pool. note that we don't need to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment