summaryrefslogtreecommitdiffhomepage
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
commit6d9a9aa29b77a22f4de2e56b815639e06a876b48 (patch)
tree7d3e9de8c7a63c62b6cf3c9cc0d34085cf6bd5d7 /src/compat
parentc5591560ff58201c58379b80630134a1784bb36d (diff)
crypto: use new assembler macros for 5.5
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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 */