aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl-hardened/pax-rap-fixes.patch
blob: b5b727938c33d606a5c793d8647398c837e6df77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/sys/thread.h b/include/sys/thread.h
index 433a076..1ca9911 100644
--- a/include/sys/thread.h
+++ b/include/sys/thread.h
@@ -46,7 +46,7 @@
 typedef void (*thread_func_t)(void *);
 
 #define thread_create(stk, stksize, func, arg, len, pp, state, pri)      \
-	__thread_create(stk, stksize, (thread_func_t)func,               \
+	__thread_create(stk, stksize, func,                              \
 	                #func, arg, len, pp, state, pri)
 #define thread_exit()			__thread_exit()
 #define thread_join(t)			VERIFY(0)