mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Squashed commit of the following:
libs/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
syscall/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
wireless/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
Documentation/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
include/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
drivers/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
sched/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
configs: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/xtensa: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/z80: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/x86: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/renesas and arch/risc-v: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
arch/or1k: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/misoc: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/mips: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/avr: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
arch/arm: Remove all references to CONFIG_DISABLE_SIGNALS. Signals are always enabled.
This commit is contained in:
@@ -386,10 +386,8 @@ static FAR const char *g_statenames[] =
|
||||
#endif
|
||||
"Running",
|
||||
"Inactive",
|
||||
"Waiting,Semaphore"
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
, "Waiting,Signal"
|
||||
#endif
|
||||
"Waiting,Semaphore",
|
||||
"Waiting,Signal"
|
||||
#ifndef CONFIG_DISABLE_MQUEUE
|
||||
, "Waiting,MQ empty"
|
||||
, "Waiting,MQ full"
|
||||
@@ -628,14 +626,11 @@ static ssize_t proc_status(FAR struct proc_file_s *procfile,
|
||||
|
||||
/* Show the signal mask */
|
||||
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
linesize = snprintf(procfile->line, STATUS_LINELEN, "%-12s%08x\n", "SigMask:",
|
||||
tcb->sigprocmask);
|
||||
copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining, &offset);
|
||||
|
||||
totalsize += copysize;
|
||||
#endif
|
||||
|
||||
return totalsize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user