summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhujiale <[email protected]>2024-09-12 13:12:35 +0800
committerRbb666 <[email protected]>2024-09-24 09:56:30 +0800
commit244cf61af6a0549d2a197af05183a7e902207598 (patch)
treec862731a84207dab7e663632efa83b1aa392c96d /include
parent5f83c51347788ab4414cb753485d71c5dc247b6a (diff)
SMP
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 2d22d42524..63038be535 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -672,10 +672,12 @@ typedef struct rt_cpu_usage_stats *rt_cpu_usage_stats_t;
#define RT_STOP_IPI 1
#endif /* RT_STOP_IPI */
-#ifndef RT_IPI_FUNC
-#define RT_IPI_FUNC 2
+#ifndef RT_FUNC_IPI
+#define RT_FUNC_IPI 2
#endif
+#define RT_MAX_IPI 3
+
#define _SCHEDULER_CONTEXT(fileds) fileds
/**