linuxkm: eliminate duplicative WOLFSSL_KTHREADS macro (just use WOLFSSL_LINUXKM).
This commit is contained in:
parent
a22da10956
commit
f414e65d4b
@ -59,8 +59,6 @@
|
||||
(int)_xatoi_res; \
|
||||
})
|
||||
|
||||
#define WOLFSSL_KTHREADS
|
||||
|
||||
#ifdef BUILDING_WOLFSSL
|
||||
|
||||
#if defined(CONFIG_MIPS) && defined(HAVE_LINUXKM_PIE_SUPPORT)
|
||||
|
@ -1332,7 +1332,7 @@ int wolfSSL_CryptHwMutexUnLock(void)
|
||||
return BAD_MUTEX_E;
|
||||
}
|
||||
|
||||
#elif defined(WOLFSSL_KTHREADS)
|
||||
#elif defined(WOLFSSL_LINUXKM)
|
||||
|
||||
/* Linux kernel mutex routines are voids, alas. */
|
||||
|
||||
|
@ -199,8 +199,7 @@
|
||||
#else
|
||||
#ifndef SINGLE_THREADED
|
||||
#if defined(WOLFSSL_LINUXKM)
|
||||
#define WOLFSSL_KTHREADS
|
||||
#include <linux/kthread.h>
|
||||
/* setup is in linuxkm/linuxkm_wc_port.h */
|
||||
#elif defined(WOLFSSL_USER_MUTEX)
|
||||
/* do nothing */
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user