Skip to content

Commit

Permalink
entry: drop unnecessary CLD from exc./irq handlers
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Wieczorkiewicz <[email protected]>
  • Loading branch information
wipawel committed Sep 1, 2023
1 parent abc0e38 commit a2ed92d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -117,7 +116,6 @@ END_FUNC(asm_interrupt_handler_\sym)
.endm

ENTRY(handle_exception)
cld
SAVE_ALL_REGS

mov %_ASM_SP, %_ASM_DI
Expand Down

0 comments on commit a2ed92d

Please sign in to comment.