Skip to content

Commit 3d18332

Browse files
committed
zephyr: add rtos/mutex.h
The RTOS layer should provide the same interface for all OS'es. Currently rtos/mutex.h is only defined for XTOS. Add rtos/mutex.h also for Zephyr to allow generic SOF code to use this interface. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1 parent 1fe942f commit 3d18332

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

zephyr/include/rtos/mutex.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
//
3+
// Copyright(c) 2024 Intel Corporation.
4+
//
5+
6+
#ifndef __ZEPHYR_RTOS_MUTEX_H__
7+
#define __ZEPHYR_RTOS_MUTEX_H__
8+
9+
#include <zephyr/kernel.h> /* k_mutex_*() */
10+
11+
#endif /* __ZEPHYR_RTOS_MUTEX_H__ */

0 commit comments

Comments
 (0)