]> Git Repo - linux.git/commit
zlib: make new optimized inflate endian independent
authorJoakim Tjernlund <[email protected]>
Wed, 10 Mar 2010 23:23:55 +0000 (15:23 -0800)
committerLinus Torvalds <[email protected]>
Fri, 12 Mar 2010 23:52:44 +0000 (15:52 -0800)
commite69eae65523b457a3ac4262a66cfff57f2c924a9
tree620315728b7ebfe7876b9314206de8339e0343bb
parent5ceaa2f39bfa73c4398cd01e78f1c3ebde3d3383
zlib: make new optimized inflate endian independent

Commit 6846ee5ca68d81e6baccf0d56221d7a00c1be18b ("zlib: Fix build of
powerpc boot wrapper") made the new optimized inflate only available on
arch's that define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS.

This patch will again enable the optimization for all arch's by defining
our own endian independent version of unaligned access.  As an added
bonus, arch's that define CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS do a
plain load instead.

Signed-off-by: Joakim Tjernlund <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Kumar Gala <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/zlib_inflate/inffast.c
This page took 0.042937 seconds and 4 git commands to generate.