kconfig: Remove stale references to _Swap()

_Swap() is obsolete and has since been replaced with z_swap().

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
Peter Mitsis 2025-02-03 10:41:55 -08:00 committed by Benjamin Cabé
commit 4bc5498399
2 changed files with 5 additions and 5 deletions

View file

@ -1134,9 +1134,9 @@ config ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
config ARCH_HAS_CUSTOM_SWAP_TO_MAIN config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
bool bool
help help
It's possible that an architecture port cannot use _Swap() to swap to It's possible that an architecture port cannot use z_swap_unlocked()
the _main() thread, but instead must do something custom. It must to swap to the main thread (bg_thread_main), but instead must do
enable this option in that case. something custom. It must enable this option in that case.
config ARCH_HAS_CUSTOM_BUSY_WAIT config ARCH_HAS_CUSTOM_BUSY_WAIT
bool bool

View file

@ -782,9 +782,9 @@ endmenu
config SWAP_NONATOMIC config SWAP_NONATOMIC
bool bool
help help
On some architectures, the _Swap() primitive cannot be made On some architectures, the z_swap() primitive cannot be made
atomic with respect to the irq_lock being released. That atomic with respect to the irq_lock being released. That
is, interrupts may be received between the entry to _Swap is, interrupts may be received between the entry to z_swap
and the completion of the context switch. There are a and the completion of the context switch. There are a
handful of workaround cases in the kernel that need to be handful of workaround cases in the kernel that need to be
enabled when this is true. Currently, this only happens on enabled when this is true. Currently, this only happens on