Skip to content

Commit 8d7a4f7

Browse files
nashifmbolivar-nordic
authored andcommitted
kernel: fix cpu_mask api documentation
wrong kconfig is being used in the note, DEADLINE is not related to cpu mask APIs. Signed-off-by: Anas Nashif <[email protected]>
1 parent 74c1d35 commit 8d7a4f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/zephyr/kernel.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ __syscall void k_thread_deadline_set(k_tid_t thread, int deadline);
756756
* After this returns, the thread will no longer be schedulable on any
757757
* CPUs. The thread must not be currently runnable.
758758
*
759-
* @note You should enable @kconfig{CONFIG_SCHED_DEADLINE} in your project
759+
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
760760
* configuration.
761761
*
762762
* @param thread Thread to operate upon
@@ -770,7 +770,7 @@ int k_thread_cpu_mask_clear(k_tid_t thread);
770770
* After this returns, the thread will be schedulable on any CPU. The
771771
* thread must not be currently runnable.
772772
*
773-
* @note You should enable @kconfig{CONFIG_SCHED_DEADLINE} in your project
773+
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
774774
* configuration.
775775
*
776776
* @param thread Thread to operate upon
@@ -783,7 +783,7 @@ int k_thread_cpu_mask_enable_all(k_tid_t thread);
783783
*
784784
* The thread must not be currently runnable.
785785
*
786-
* @note You should enable @kconfig{CONFIG_SCHED_DEADLINE} in your project
786+
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
787787
* configuration.
788788
*
789789
* @param thread Thread to operate upon
@@ -797,7 +797,7 @@ int k_thread_cpu_mask_enable(k_tid_t thread, int cpu);
797797
*
798798
* The thread must not be currently runnable.
799799
*
800-
* @note You should enable @kconfig{CONFIG_SCHED_DEADLINE} in your project
800+
* @note You should enable @kconfig{CONFIG_SCHED_CPU_MASK} in your project
801801
* configuration.
802802
*
803803
* @param thread Thread to operate upon

0 commit comments

Comments
 (0)