[PATCH] powerpc: use swap() to make code cleaner
Segher Boessenkool
segher at kernel.crashing.org
Thu Nov 4 22:33:51 AEDT 2021
On Thu, Nov 04, 2021 at 09:06:56PM +1100, Stephen Rothwell wrote:
> On Thu, 4 Nov 2021 14:17:09 +0800 davidcomponentone at gmail.com wrote:
> > From: Yang Guang <yang.guang5 at zte.com.cn>
> >
> > Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid
> > opencoding it.
>
> So if swap() is in the above include file, then you should include it.
It is included from kernel.h already (which is included from delay.h).
Segher
More information about the Linuxppc-dev
mailing list