summaryrefslogtreecommitdiff
path: root/include/uthread.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-22 09:07:56 -0600
committerTom Rini <[email protected]>2025-10-22 09:07:56 -0600
commit29a96acaa3a84c68264d8dcf2182000bce71175e (patch)
treeabd59b96eeb5783eb0ec7bb43423c3910a328502 /include/uthread.h
parentb21ba014a9e51ae33916ec17786fdb03587ed9b6 (diff)
parented6ec8d1ca0658d811df1cc78d06fec4f7f69fc9 (diff)
Merge tag 'net-20251022' of https://source.denx.de/u-boot/custodians/u-boot-net
Pull request net-20251022 net: - airoha: improvements - Tighten a few more driver dependencies - designware: fix bitbang init error - phy: Make driver overloading get_phy_id depend on !COMPILE_TEST - phy: add paged PHY register accessors - make dhcp_run() common for NET and NET_LWIP - dwc_eth_ops: Correct check for FDT_64BIT - mediatek: mt7988: various fixup + MDIO detach - phy: aquantia: switch to use phy_get_ofnode(), fix bindings typo net-legacy: - bootp: Prevent buffer overflow to avoid leaking the RAM content - tftp: make TFTP ports unconditionally configurable misc: - uthreads: Make use of CONFIG_IS_ENABLED consistently
Diffstat (limited to 'include/uthread.h')
-rw-r--r--include/uthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uthread.h b/include/uthread.h
index 11a19aa9488..78dab77f196 100644
--- a/include/uthread.h
+++ b/include/uthread.h
@@ -72,7 +72,7 @@ struct uthread_mutex {
#define UTHREAD_MUTEX_INITIALIZER { .state = UTHREAD_MUTEX_UNLOCKED }
-#ifdef CONFIG_UTHREAD
+#if CONFIG_IS_ENABLED(UTHREAD)
/**
* uthread_create() - Create a uthread object and make it ready for execution
@@ -184,5 +184,5 @@ static inline bool uthread_grp_done(unsigned int grp_id)
#define uthread_mutex_trylock(_mutex) ({ 0 })
#define uthread_mutex_unlock(_mutex) ({ 0; })
-#endif /* CONFIG_UTHREAD */
+#endif /* CONFIG_IS_ENABLED(UTHREAD) */
#endif /* _UTHREAD_H_ */