Jelajahi Sumber

Merge pull request #243 from MatthewWertman/vpatch-5.17

fix compilation for linux kernel 5.17
Ole Petter Bang 2 tahun lalu
induk
melakukan
212c0b328e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;