kernel: add closing comments to config endifs
Add a closing comment to the endif with the configuration
information to which the endif belongs too.
To make the code more clearer if the configs need adaptions.
Signed-off-by: Simon Hein <Shein@baumer.com>
diff --git a/kernel/smp.c b/kernel/smp.c
index 6b5a12a..6e6cad26 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -49,7 +49,7 @@
#ifdef CONFIG_SYS_CLOCK_EXISTS
/** True if smp_timer_init() needs to be called. */
bool reinit_timer;
-#endif
+#endif /* CONFIG_SYS_CLOCK_EXISTS */
} cpu_start_fn;
static struct k_spinlock cpu_start_lock;
@@ -130,7 +130,7 @@
if ((arg == NULL) || csc.reinit_timer) {
smp_timer_init();
}
-#endif
+#endif /* CONFIG_SYS_CLOCK_EXISTS */
/* Do additional initialization steps if needed. */
if (csc.fn != NULL) {
@@ -177,7 +177,7 @@
#ifdef CONFIG_SYS_CLOCK_EXISTS
cpu_start_fn.reinit_timer = true;
-#endif
+#endif /* CONFIG_SYS_CLOCK_EXISTS */
/* We are only starting one CPU so we do not need to synchronize
* across all CPUs using the start_flag. So just set it to 1.
@@ -206,7 +206,7 @@
cpu_start_fn.reinit_timer = reinit_timer;
#else
ARG_UNUSED(reinit_timer);
-#endif
+#endif /* CONFIG_SYS_CLOCK_EXISTS */
/* We are only starting one CPU so we do not need to synchronize
* across all CPUs using the start_flag. So just set it to 1.