[PATCH] gianfar: Use memset instead of cacheable_memzero
David Miller
davem at davemloft.net
Wed Apr 29 01:04:20 EST 2009
From: Kumar Gala <galak at kernel.crashing.org>
Date: Tue, 28 Apr 2009 09:14:01 -0500
> cacheable_memzero() is completely overkill for the clearing out the FCB
> block which is only 8-bytes. The compiler should easily optimize this
> with memset. Additionally, cacheable_memzero() only exists on ppc32 and
> thus breaks builds of gianfar on ppc64.
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
Applied to net-next-2.6, thanks!
More information about the Linuxppc-dev
mailing list