diff options
| author | zhujiale <[email protected]> | 2024-09-13 15:41:43 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-09-24 09:56:30 +0800 |
| commit | d8956e415e246423abd71917aea8ecb4f8fd2a47 (patch) | |
| tree | 7a0239f7a33610775ec304994ff8b46720dc7830 /components | |
| parent | aafc0ae0f815f0865fe35881306389330ae691a9 (diff) | |
smp
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/smp/smp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/components/drivers/smp/smp.c b/components/drivers/smp/smp.c index 3b6d9694ea..765d143061 100644 --- a/components/drivers/smp/smp.c +++ b/components/drivers/smp/smp.c @@ -14,9 +14,10 @@ #define DBG_LVL DBG_INFO #include <rtdbg.h> -struct rt_smp_call rt_smp_work[RT_CPUS_NR]; -rt_atomic_t rt_smp_wait; -rt_err_t smp_call_handler(struct rt_smp_event *event) +static struct rt_smp_call rt_smp_work[RT_CPUS_NR]; +static rt_atomic_t rt_smp_wait; + +static rt_err_t smp_call_handler(struct rt_smp_event *event) { switch (event->event_id) { |
