summaryrefslogtreecommitdiffstats
path: root/lib/fonts/fonts.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-12-12 17:40:22 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2013-12-12 10:39:01 -0800
commit11ec50caedb56e3a87715edeff6a1852e6ae5416 (patch)
treea94b6a3d2456800197d67effa2677d426d00d31d /lib/fonts/fonts.c
parenta5c21dcefa1c3d759457a604b3cfc4af29c8713f (diff)
downloadop-kernel-dev-11ec50caedb56e3a87715edeff6a1852e6ae5416.zip
op-kernel-dev-11ec50caedb56e3a87715edeff6a1852e6ae5416.tar.gz
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 <will.deacon@arm.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/fonts/fonts.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud