mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
wireguard: compat: Adapt for upstream mm commit
3b3cecea215895b2235f2eb70e9e6859b379630a: "mm: convert totalram_pages and totalhigh_pages variables to atomic" Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
0fce4ce724
commit
b7f4d80fbc
@ -777,10 +777,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user