aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2016-04-09 22:05:34 +0100
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:57:25 +0200
commit71f9d48e290edbcc02ea7c499ed5e3978b11f0ba (patch)
tree9fe10cd49002a3278a1b0a534a05946fec406771 /scripts
parentd2584da5de7933f3ef150fa51323e5ccb9652b85 (diff)
lib: lz4: fixed zram with lz4 on big endian machines
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 Cc: stable@vger.kernel.org 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: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: MOVZX <movzx@yahoo.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions