posix: deprecate SEM_VALUE_MAX and SEM_NAMELEN_MAX
This change deprecates CONFIG_SEM_VALUE_MAX in favour of CONFIG_POSIX_SEM_VALUE_MAX which maps directly to _POSIX_SEM_VALUE_MAX. Additionally, we add the Kconfig option CONFIG_POSIX_SEMAPHORES which maps directly to the POSIX Option _POSIX_SEMAPHORES. For consistence, deprecate CONFIG_SEM_NAMELEN_MAX in favour of CONFIG_POSIX_SEM_NAMELEN_MAX. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
9f6590c7b7
commit
842a7b7ba1
10 changed files with 70 additions and 33 deletions
|
@ -192,4 +192,22 @@ config TIMER_DELAYTIMER_MAX
|
|||
|
||||
Please use CONFIG_POSIX_DELAYTIMER_MAX instead.
|
||||
|
||||
config SEM_NAMELEN_MAX
|
||||
int "Maximum name length [DEPRECATED]"
|
||||
default POSIX_SEM_NAMELEN_MAX if POSIX_SEMAPHORES
|
||||
default 0
|
||||
help
|
||||
This option is deprecated.
|
||||
|
||||
Please use CONFIG_POSIX_SEM_NAMELEN_MAX instead.
|
||||
|
||||
config SEM_VALUE_MAX
|
||||
int "Maximum semaphore limit [DEPRECATED]"
|
||||
default POSIX_SEM_VALUE_MAX if POSIX_SEMAPHORES
|
||||
default 0
|
||||
help
|
||||
This option is deprecated.
|
||||
|
||||
Please use CONFIG_POSIX_SEM_VALUE_MAX instead.
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue