summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2016-04-09 22:05:34 +0100
committerBen Hutchings <ben@decadent.org.uk>2016-06-15 21:29:23 +0100
commitb6128b21bd6ce80a200cd1fbc437eda02686273a (patch)
tree2761aa7e65d5769bcec988a84bbe1463b847a487 /include/linux/platform_data
parente5bb0548c1ddab65ed675df65be6632f83374ec3 (diff)
lib: lz4: fixed zram with lz4 on big endian machines
commit 3e26a691fe3fe1e02a76e5bab0c143ace4b137b4 upstream. Based on Sergey's test patch [1], this fixes zram with lz4 compression on big endian cpus. Note that the 64-bit preprocessor test is not a cleanup, it's part of the fix, since those identifiers are bogus (for example, __ppc64__ isn't defined anywhere else in the kernel, which means we'd fall into the 32-bit definitions on ppc64). Tested on ppc64 with no regression on x86_64. [1] http://marc.info/?l=linux-kernel&m=145994470805853&w=4 Suggested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions