[PATCH] staging: octeon: use atomic_long_t

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Feb 18 23:45:09 UTC 2016


On Fri, Feb 19, 2016 at 12:20:45AM +0200, Aaro Koskinen wrote:
> Use atomic_long_t, so that we can avoid some 32 vs. 64-bit ifdeffery.

Why are these atomic at all?  There's no reason they can't just be a
u64 like all other network drivers have, right?

thanks,

greg k-h


More information about the devel mailing list