From: Will Deacon Date: Thu, 12 Dec 2013 17:40:22 +0000 (+0000) Subject: word-at-a-time: provide generic big-endian zero_bytemask implementation X-Git-Tag: v3.13-rc4~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ec50caedb56e3a87715edeff6a1852e6ae5416;p=pandora-kernel.git word-at-a-time: provide generic big-endian zero_bytemask implementation Whilst architectures may be able to do better than this (which they can, by simply defining their own macro), this is a generic stab at a zero_bytemask implementation for the asm-generic, big-endian word-at-a-time implementation. On arm64, a clz instruction is used to implement the fls efficiently. Signed-off-by: Will Deacon Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed