1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-14 11:14:18 +02:00

[linux-kernel] Update patches for v2

* Reduce stack usage of many zstd functions, none use over 388 B anymore.
* Remove an incorrect `const` in `xxhash`.
This commit is contained in:
Nick Terrell
2017-06-26 18:33:04 -07:00
parent 379f9d874d
commit ce91b64f00
18 changed files with 691 additions and 456 deletions

View File

@ -0,0 +1,11 @@
#ifndef LINUX_MATH64_H
#define LINUX_MATH64_H
#include <stdint.h>
static uint64_t div_u64(uint64_t n, uint32_t d)
{
return n / d;
}
#endif