diff --git a/arch/x86/core/Kconfig b/arch/x86/core/Kconfig index cde2113fcdc..26b9422e55b 100644 --- a/arch/x86/core/Kconfig +++ b/arch/x86/core/Kconfig @@ -26,13 +26,12 @@ config NO_ISRS This option disables asynchronous interrupts support. -config NO_NESTED_INTERRUPTS +config NESTED_INTERRUPTS bool prompt "Enable nested interrupts" - default n - depends on X86_32 + default y help - disable nest interrupts. + This option enables support for nested interrupts. config EXCEPTION_DEBUG bool diff --git a/arch/x86/core/intstub.S b/arch/x86/core/intstub.S index f489a5f4e9a..eb4ae79c21b 100644 --- a/arch/x86/core/intstub.S +++ b/arch/x86/core/intstub.S @@ -202,7 +202,7 @@ BRANCH_LABEL(alreadyOnIntStack) call _int_latency_stop popl %eax #endif -#if !defined(CONFIG_NO_NESTED_INTERRUPTS) +#ifdef CONFIG_NESTED_INTERRUPTS sti /* re-enable interrupts */ #endif jmp *%eax /* "return" back to stub */