diff options
| author | Shell <[email protected]> | 2024-02-23 17:49:15 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-23 17:49:15 +0800 |
| commit | 71560bafb5735220696ca24a42ba4a668b55949b (patch) | |
| tree | 236df5973a1fd5b6f0cc9f6c6b6a2d71fd069203 /libcpu/aarch64 | |
| parent | 6fe69d7431ed54fcea863ed68d7c4f9746e771b0 (diff) | |
🎯 Sync smart & scheduler codes (#8537)
Signed-off-by: Shell <[email protected]>
Co-authored-by: xqyjlj <[email protected]>
Diffstat (limited to 'libcpu/aarch64')
| -rw-r--r-- | libcpu/aarch64/common/cpuport.h | 1 | ||||
| -rw-r--r-- | libcpu/aarch64/cortex-a/entry_point.S | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libcpu/aarch64/common/cpuport.h b/libcpu/aarch64/common/cpuport.h index 1108ce98fe..2def65b474 100644 --- a/libcpu/aarch64/common/cpuport.h +++ b/libcpu/aarch64/common/cpuport.h @@ -13,6 +13,7 @@ #define CPUPORT_H__ #include <armv8.h> +#include <rtcompiler.h> #include <rtdef.h> #ifdef RT_USING_SMP diff --git a/libcpu/aarch64/cortex-a/entry_point.S b/libcpu/aarch64/cortex-a/entry_point.S index 087cac6e7a..e8634612e2 100644 --- a/libcpu/aarch64/cortex-a/entry_point.S +++ b/libcpu/aarch64/cortex-a/entry_point.S @@ -151,7 +151,7 @@ _secondary_cpu_entry: #else bl rt_hw_cpu_id_set mrs x0, tpidr_el1 -#endif +#endif /* RT_USING_OFW */ /* Set current cpu's stack top */ sub x0, x0, #1 |
