From a2ed92d4fdce8a0dd9ceca5712b8c6dea7ed67c1 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorkiewicz Date: Fri, 1 Sep 2023 15:58:53 +0200 Subject: [PATCH] entry: drop unnecessary CLD from exc./irq handlers Signed-off-by: Pawel Wieczorkiewicz --- arch/x86/entry.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/entry.S b/arch/x86/entry.S index b5c441e2..5432716b 100644 --- a/arch/x86/entry.S +++ b/arch/x86/entry.S @@ -103,7 +103,6 @@ ENTRY(asm_interrupt_handler_\sym) push $\vec /* IRQ vector */ cond_from_usermode - cld SAVE_ALL_REGS call \func RESTORE_ALL_REGS @@ -117,7 +116,6 @@ END_FUNC(asm_interrupt_handler_\sym) .endm ENTRY(handle_exception) - cld SAVE_ALL_REGS mov %_ASM_SP, %_ASM_DI