Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .wolfssl_known_macro_extras
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ CONFIG_ARCH_CHIP_STM32F746ZG
CONFIG_ARCH_CHIP_STM32H743ZI
CONFIG_ARCH_CHIP_STM32L552ZE
CONFIG_ARCH_POSIX
CONFIG_ARCH_TEGRA
CONFIG_ARM
CONFIG_ARM64
CONFIG_BOARD_NATIVE_POSIX
Expand Down
5 changes: 5 additions & 0 deletions linuxkm/linuxkm_wc_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,12 @@

static __always_inline int wc_InitMutex(wolfSSL_Mutex* m)
{
/* Tegra vendor kernels do not support assignment of __SPIN_LOCK_UNLOCKED() */
# ifndef CONFIG_ARCH_TEGRA
m->lock = __SPIN_LOCK_UNLOCKED(m);
# else
spin_lock_init(&m->lock);
#endif
m->irq_flags = 0;

return 0;
Expand Down
Loading