Skip to content

Commit a2ed92d

Browse files
committed
entry: drop unnecessary CLD from exc./irq handlers
Signed-off-by: Pawel Wieczorkiewicz <wipawel@grsecurity.net>
1 parent abc0e38 commit a2ed92d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/entry.S

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ ENTRY(asm_interrupt_handler_\sym)
103103
push $\vec /* IRQ vector */
104104
cond_from_usermode
105105

106-
cld
107106
SAVE_ALL_REGS
108107
call \func
109108
RESTORE_ALL_REGS
@@ -117,7 +116,6 @@ END_FUNC(asm_interrupt_handler_\sym)
117116
.endm
118117

119118
ENTRY(handle_exception)
120-
cld
121119
SAVE_ALL_REGS
122120

123121
mov %_ASM_SP, %_ASM_DI

0 commit comments

Comments
 (0)