From 4ebdf7f84be49c5786177159acbc00d91a57eb6c Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Mon, 19 Oct 2015 15:08:43 -0400 Subject: [PATCH] Rename NO_NESTED_INTERRUPTS to NESTED_INTERRUPTS Renames the Kconfig option NO_NESTED_INTERRUPTS to NESTED_INTERRUPTS as it is typically easier to follow positive logic than it is to follow negative logic. Change-Id: I68f9220621545a72254ba561aa3cb488e59e402a Signed-off-by: Peter Mitsis --- arch/x86/core/Kconfig | 7 +++---- arch/x86/core/intstub.S | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) 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 */