diff options
| author | Shell <[email protected]> | 2024-05-11 08:53:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-11 08:53:42 +0800 |
| commit | 989cc61f48486034abd925d83cae1fbe8b680947 (patch) | |
| tree | 6bd00a8320ba3469fde8bea0a5ac228f7e956158 /src | |
| parent | 5dba9a4214620700978c7a1d21ccafedd2884fdc (diff) | |
[hrtimer] fixup use-after-free (#8928)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cpu_mp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu_mp.c b/src/cpu_mp.c index 8da4c3e180..238ddb420b 100644 --- a/src/cpu_mp.c +++ b/src/cpu_mp.c @@ -219,6 +219,7 @@ RTM_EXPORT(rt_cpus_lock_status_restore); /* A safe API with debugging feature to be called in most codes */ +#undef rt_cpu_get_id /** * @brief Get logical CPU ID * |
