[PATCH] arch/ppc64: Replace custom MIN macro

Paul Mackerras paulus at samba.org
Fri Apr 8 09:00:16 EST 2005


Tobias Klauser writes:

> >From the kerneljanitors TODO list:
> - min/max macros from kernel.h are safe, a lot of handcrafted MIN/MAX are not.

Well... OK, that removes 4 lines of code, which is good, but the
explanation needs changing - it's not a question of safety, it doesn't
matter if we evaluate sizeof() more than once. :)

Paul.



More information about the Linuxppc64-dev mailing list