From 091dcd954458869c6d2be981f7ab6144424350cb Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 5 Dec 2019 15:27:37 +0100 Subject: crypto: use new assembler macros for 5.5 --- src/compat/compat-asm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/compat') 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 */ -- cgit v1.2.3-59-g8ed1b