Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9199ba37 authored by Michael Ellerman's avatar Michael Ellerman Committed by Greg Kroah-Hartman
Browse files

ibmveth: Use dcbf rather than dcbfl



commit bfedba3b2c7793ce127680bc8f70711e05ec7a17 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76b61acc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -209,7 +209,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