arch: remove up_irq{save|restore} these come from irq.h
This commit is contained in:
parent
f43f066018
commit
e23c3ffc03
@ -1369,39 +1369,6 @@ void up_irqinitialize(void);
|
||||
|
||||
bool up_interrupt_context(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_irq_save
|
||||
*
|
||||
* Description:
|
||||
* Save the current interrupt state and disable interrupts.
|
||||
*
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
* Interrupt state prior to disabling interrupts.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
irqstate_t up_irq_save(void);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_irq_restore
|
||||
*
|
||||
* Description:
|
||||
* Restore the previous irq state (i.e., the one previously
|
||||
* returned by up_irq_save())
|
||||
*
|
||||
* Input Parameters:
|
||||
* irqstate - The interrupt state to be restored.
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void up_irq_restore(irqstate_t irqstate);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_enable_irq
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user