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)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 16:59:31 +0000 (17:59 +0100)
commit8c8e31f98cae35666e0e619115ab1e1fc80b1835
tree7721c30a260b5b4e966ea2f507686d6b5e878f28
parent68813d8f7e4554f5e2a97e66c4cb7dcacfcc6ade
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>
(cherry picked from commit 789ce9dca8007ab5d7c72b9a174a29243817ac32)
Signed-off-by: Mark Brown <broonie@linaro.org>
include/asm-generic/word-at-a-time.h