mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-01-27 17:26:47 +00:00
net: wireguard: fix compilation after vmalloc backport
"Backport new vmalloc for "large performance benefits""
This commit is contained in:
@@ -774,10 +774,6 @@ static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2,
|
||||
#define hlist_add_behind(a, b) hlist_add_after(b, a)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) && !defined(ISRHEL8)
|
||||
#define totalram_pages() totalram_pages
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 18, 0)
|
||||
struct __kernel_timespec {
|
||||
int64_t tv_sec, tv_nsec;
|
||||
|
||||
Reference in New Issue
Block a user