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:
@@ -41,7 +41,7 @@ static inline void
|
|||||||
arch_int_restore_interrupts_inline(int oldState)
|
arch_int_restore_interrupts_inline(int oldState)
|
||||||
{
|
{
|
||||||
if (oldState)
|
if (oldState)
|
||||||
asm("sti");
|
asm volatile("sti");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user