kernel/x86: Use volatile in restore_interrupts.
We already use it in enable_interrupts, so we might as well use it here too.
This commit is contained in:
parent
a84bb93b44
commit
1c1efa6f2f
@ -41,7 +41,7 @@ static inline void
|
||||
arch_int_restore_interrupts_inline(int oldState)
|
||||
{
|
||||
if (oldState)
|
||||
asm("sti");
|
||||
asm volatile("sti");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user