From: Denys Vlasenko Date: Tue, 31 Mar 2015 17:00:06 +0000 (+0200) Subject: x86/asm/entry/64: Remove redundant DISABLE_INTERRUPTS() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=32a04077fe401842424a4b555572fa459c01e0a3;p=linux-beck.git x86/asm/entry/64: Remove redundant DISABLE_INTERRUPTS() At this location, we already have interrupts off, always. To be more specific, we already disabled them here: ret_from_intr: DISABLE_INTERRUPTS(CLBR_NONE) Signed-off-by: Denys Vlasenko Cc: Alexei Starovoitov Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: H. Peter Anvin Cc: Kees Cook Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Steven Rostedt Cc: Will Drewry Link: http://lkml.kernel.org/r/1427821211-25099-4-git-send-email-dvlasenk@redhat.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 1879c55bf0f7..9f8d01f1f1b2 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S @@ -749,7 +749,6 @@ retint_kernel: jmp exit_intr 1: #endif - DISABLE_INTERRUPTS(CLBR_ANY) /* * The iretq could re-enable interrupts: */