Ver código fonte

Merge pull request #243 from MatthewWertman/vpatch-5.17

fix compilation for linux kernel 5.17
Ole Petter Bang 2 anos atrás
pai
commit
212c0b328e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      include/osdep_service_linux.h

+ 1 - 1
include/osdep_service_linux.h

@@ -146,7 +146,7 @@
 	typedef int		thread_return;
 	typedef void*	thread_context;
 
-	#define thread_exit() complete_and_exit(NULL, 0)
+	#define thread_exit() kthread_complete_and_exit(NULL, 0)
 
 	typedef void timer_hdl_return;
 	typedef void* timer_hdl_context;