kernel: redefine struct k_spinlock_key
This is not intended to be public, all users are expected to be using the opaque k_spinlock_key_t. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
10fc01ee9b
commit
b7e1e21b3c
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <arch/cpu.h>
|
||||
|
||||
struct k_spinlock_key {
|
||||
struct z_spinlock_key {
|
||||
int key;
|
||||
};
|
||||
|
||||
|
@ -75,7 +75,7 @@ BUILD_ASSERT(CONFIG_MP_NUM_CPUS < 4, "Too many CPUs for mask");
|
|||
* This type is opaque and should not be inspected by application
|
||||
* code.
|
||||
*/
|
||||
typedef struct k_spinlock_key k_spinlock_key_t;
|
||||
typedef struct z_spinlock_key k_spinlock_key_t;
|
||||
|
||||
/**
|
||||
* @brief Lock a spinlock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue