mirror of
https://github.com/facebook/zstd.git
synced 2025-07-04 22:58:46 +02:00
[contrib][linux-kernel] Update test include stubs
Update the test include stubs so they are able to run the current zstd version in the kernel, so I can compare stack usage.
This commit is contained in:
@ -12,4 +12,8 @@
|
||||
|
||||
#define WARN_ON(x)
|
||||
|
||||
#define PTR_ALIGN(p, a) (typeof(p))ALIGN((unsigned long long)(p), (a))
|
||||
#define ALIGN(x, a) ALIGN_MASK((x), (a) - 1)
|
||||
#define ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask))
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user