Displaying 1 result from an estimated 1 matches for "local_irq_retore".
Did you mean:
local_irq_restore
2012 Dec 06
1
Question on local_irq_save/local_irq_retore
Hi, I have some confusion on local_irq_save() and local_irq_restore(). From
the definitions, you can see that local_irq_save() calls local_irq_disable().
But why there is no local_irq_enable() in local_irq_restore?
#define local_irq_save(x)
({
local_save_flags(x);
local_irq_disable();
})
#define local_irq_restore(x)
({
BUILD_BUG_ON(sizeof(x) != sizeof(long));
asm volatile (