aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-12-05 15:27:37 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-12-05 15:27:37 +0100
commit091dcd954458869c6d2be981f7ab6144424350cb (patch)
treea5c393d680414343917eb81a2c945d239cb53d81 /src/compat
parentchacha20poly1305: port to sgmitter for 5.5 (diff)
downloadwireguard-monolithic-historical-091dcd954458869c6d2be981f7ab6144424350cb.tar.xz
wireguard-monolithic-historical-091dcd954458869c6d2be981f7ab6144424350cb.zip
crypto: use new assembler macros for 5.5
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat-asm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h
index f5c5bc2..bafd70b 100644
--- a/src/compat/compat-asm.h
+++ b/src/compat/compat-asm.h
@@ -40,4 +40,9 @@
#undef pull
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)
+#define SYM_FUNC_START ENTRY
+#define SYM_FUNC_END ENDPROC
+#endif
+
#endif /* _WG_COMPATASM_H */