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:
Gregory Nutt
2019-04-29 14:52:05 -06:00
parent 42e53465b1
commit abf6965c24
251 changed files with 177 additions and 998 deletions
-7
View File
@@ -116,15 +116,12 @@ struct mac802154_chardevice_s
sem_t readsem; /* Signaling semaphore for waiting read */
sq_queue_t dataind_queue;
#ifndef CONFIG_DISABLE_SIGNALS
/* MAC Service notification information */
bool md_notify_registered;
pid_t md_notify_pid;
struct sigevent md_notify_event;
struct sigwork_s md_notify_work;
#endif
};
/****************************************************************************
@@ -612,7 +609,6 @@ static int mac802154dev_ioctl(FAR struct file *filep, int cmd,
switch (cmd)
{
#ifndef CONFIG_DISABLE_SIGNALS
/* Command: MAC802154IOC_NOTIFY_REGISTER
* Description: Register to receive a signal whenever there is a
* event primitive sent from the MAC layer.
@@ -632,7 +628,6 @@ static int mac802154dev_ioctl(FAR struct file *filep, int cmd,
ret = OK;
}
break;
#endif
case MAC802154IOC_GET_EVENT:
{
@@ -764,14 +759,12 @@ static int mac802154dev_notify(FAR struct mac802154_maccb_s *maccb,
nxsem_post(&dev->geteventsem);
}
#ifndef CONFIG_DISABLE_SIGNALS
if (dev->md_notify_registered)
{
dev->md_notify_event.sigev_value.sival_int = primitive->type;
nxsig_notification(dev->md_notify_pid, &dev->md_notify_event,
SI_QUEUE, &dev->md_notify_work);
}
#endif
mac802154dev_givesem(&dev->md_exclsem);
return OK;
-6
View File
@@ -159,14 +159,12 @@ struct macnet_driver_s
sem_t md_eventsem; /* Signaling semaphore for waiting get event */
sq_queue_t primitive_queue; /* For holding primitives to pass along */
#ifndef CONFIG_DISABLE_SIGNALS
/* MAC Service notification information */
bool md_notify_registered;
pid_t md_notify_pid;
struct sigevent md_notify_event;
struct sigwork_s md_notify_work;
#endif
};
/****************************************************************************
@@ -442,14 +440,12 @@ static int macnet_notify(FAR struct mac802154_maccb_s *maccb,
nxsem_post(&priv->md_eventsem);
}
#ifndef CONFIG_DISABLE_SIGNALS
if (priv->md_notify_registered)
{
priv->md_notify_event.sigev_value.sival_int = primitive->type;
nxsig_notification(priv->md_notify_pid, &priv->md_notify_event,
SI_QUEUE, &priv->md_notify_work);
}
#endif
nxsem_post(&priv->md_exclsem);
return OK;
@@ -1034,7 +1030,6 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd,
switch (cmd)
{
#ifndef CONFIG_DISABLE_SIGNALS
/* Command: MAC802154IOC_NOTIFY_REGISTER
* Description: Register to receive a signal whenever there is a
* event primitive sent from the MAC layer.
@@ -1054,7 +1049,6 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd,
ret = OK;
}
break;
#endif
case MAC802154IOC_GET_EVENT:
{