]> git.baikalelectronics.ru Git - kernel.git/commit
word-at-a-time: simplify big-endian zero_bytemask macro
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Apr 2014 21:22:19 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2014 15:57:44 +0000 (08:57 -0700)
commita54f6ede5f9d321424e7b957e1d01a0197136604
tree7b344616a976668594ff6cf56f0de7e3c32ab4eb
parent51e1610df693a7d3255e091843cefe8a1e90b3a8
word-at-a-time: simplify big-endian zero_bytemask macro

This is simpler and cleaner.  Depending on architecture, a smart
compiler may or may not generate the same code.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/word-at-a-time.h