Skip to content

Commit bfedba3

Browse files
mpedavem330
authored andcommitted
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: Michael Ellerman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9525a3c commit bfedba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ibm/ibmveth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ static inline void ibmveth_flush_buffer(void *addr, unsigned long length)
203203
unsigned long offset;
204204

205205
for (offset = 0; offset < length; offset += SMP_CACHE_BYTES)
206-
asm("dcbfl %0,%1" :: "b" (addr), "r" (offset));
206+
asm("dcbf %0,%1,1" :: "b" (addr), "r" (offset));
207207
}
208208

209209
/* replenish the buffers for a pool. note that we don't need to

0 commit comments

Comments
 (0)