summaryrefslogtreecommitdiff
path: root/fs/debugfs
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2016-04-10 00:05:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-05 00:48:41 +0300
commited643d220692bfc2bfec9fe618d102f13a5dae9f (patch)
treedbd30eeffacfb4b90ea70a17eaf1a627baa4c05c /fs/debugfs
parentbe5cbaf31cd318f8aaeeff901f6d27232dfa965f (diff)
downloadlinux-ed643d220692bfc2bfec9fe618d102f13a5dae9f.tar.xz
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>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions