irq: do not use _inline versions of irq_lock/unlock
Standardize on using the irq_lock/irq_unlock (non-inline) symbols everywhere. The non-inline versions provide absolutely no benefits, so they will be removed in a subsequent commit, and the inline versions will have their _inline suffix removed. Change-Id: Ib0b55f450447366468723e065a60adbadf7067a9 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
a73af53186
commit
6469e578cb
19 changed files with 124 additions and 185 deletions
|
@ -65,7 +65,7 @@ void _irq_handler_set(unsigned int irq,
|
|||
void (*new)(void *arg),
|
||||
void *arg)
|
||||
{
|
||||
int key = irq_lock_inline();
|
||||
int key = irq_lock();
|
||||
|
||||
__ASSERT(old == _sw_isr_table[irq].isr, "expected ISR not found in table");
|
||||
|
||||
|
@ -74,7 +74,7 @@ void _irq_handler_set(unsigned int irq,
|
|||
_sw_isr_table[irq].arg = arg;
|
||||
}
|
||||
|
||||
irq_unlock_inline(key);
|
||||
irq_unlock(key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue