replace nested max/min macros with {max,min}3 macro
Use the new {max,min}3 macros to save some cycles and bytes on the stack. This patch substitutes trivial nested macros with their counterpart. Signed-off-by:Hagen Paul Pfeifer <hagen@jauu.net> Cc: Joe Perches <joe@perches.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Hartley Sweeten <hsweeten@visionengravers.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Roland Dreier <rolandd@cisco.com> Cc: Sean Hefty <sean.hefty@intel.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/arm/mach-ep93xx/clock.c 1 addition, 2 deletionsarch/arm/mach-ep93xx/clock.c
- arch/powerpc/kernel/vio.c 1 addition, 3 deletionsarch/powerpc/kernel/vio.c
- arch/x86/kernel/cpu/intel_cacheinfo.c 1 addition, 0 deletionsarch/x86/kernel/cpu/intel_cacheinfo.c
- drivers/crypto/hifn_795x.c 2 additions, 2 deletionsdrivers/crypto/hifn_795x.c
- drivers/infiniband/ulp/ipoib/ipoib_main.c 1 addition, 2 deletionsdrivers/infiniband/ulp/ipoib/ipoib_main.c
- drivers/macintosh/windfarm_pm121.c 1 addition, 1 deletiondrivers/macintosh/windfarm_pm121.c
- drivers/video/au1200fb.c 1 addition, 1 deletiondrivers/video/au1200fb.c
- mm/slab.c 1 addition, 1 deletionmm/slab.c
Loading
Please register or sign in to comment