linuxkm: eliminate duplicative WOLFSSL_KTHREADS macro (just use WOLFSSL_LINUXKM).

This commit is contained in:
Daniel Pouzzner 2022-06-14 12:45:30 -05:00
parent a22da10956
commit f414e65d4b
3 changed files with 2 additions and 5 deletions

View File

@ -59,8 +59,6 @@
(int)_xatoi_res; \
})
#define WOLFSSL_KTHREADS
#ifdef BUILDING_WOLFSSL
#if defined(CONFIG_MIPS) && defined(HAVE_LINUXKM_PIE_SUPPORT)

View File

@ -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. */

View File

@ -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