diff options
author | 2018-10-23 12:30:19 +0200 | |
---|---|---|
committer | 2018-10-23 12:30:19 +0200 | |
commit | dda93b45389f025fd3422d22cc31cc1ea6040305 (patch) | |
tree | 44a856744843e24ed1baf6ca4edb1be04809a606 /lib | |
parent | kprobes/x86: Use preempt_enable() in optimized_callback() (diff) | |
parent | x86/intel_rdt: Prevent pseudo-locking from using stale pointers (diff) | |
download | wireguard-linux-dda93b45389f025fd3422d22cc31cc1ea6040305.tar.xz wireguard-linux-dda93b45389f025fd3422d22cc31cc1ea6040305.zip |
Merge branch 'x86/cache' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xz/xz_crc32.c | 1 | ||||
-rw-r--r-- | lib/xz/xz_private.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/xz/xz_crc32.c b/lib/xz/xz_crc32.c index 25a5d87e2e4c..912aae5fa09e 100644 --- a/lib/xz/xz_crc32.c +++ b/lib/xz/xz_crc32.c @@ -15,7 +15,6 @@ * but they are bigger and use more memory for the lookup table. */ -#include <linux/crc32poly.h> #include "xz_private.h" /* diff --git a/lib/xz/xz_private.h b/lib/xz/xz_private.h index 482b90f363fe..09360ebb510e 100644 --- a/lib/xz/xz_private.h +++ b/lib/xz/xz_private.h @@ -102,6 +102,10 @@ # endif #endif +#ifndef CRC32_POLY_LE +#define CRC32_POLY_LE 0xedb88320 +#endif + /* * Allocate memory for LZMA2 decoder. xz_dec_lzma2_reset() must be used * before calling xz_dec_lzma2_run(). |