diff options
-rw-r--r-- | arch/x86_64/kernel/entry.S | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index 28b3c8e6b044..45e0ab8a1fca 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S | |||
@@ -1045,17 +1045,15 @@ ENTRY(call_debug) | |||
1045 | ENTRY(call_softirq) | 1045 | ENTRY(call_softirq) |
1046 | CFI_STARTPROC | 1046 | CFI_STARTPROC |
1047 | movq %gs:pda_irqstackptr,%rax | 1047 | movq %gs:pda_irqstackptr,%rax |
1048 | pushq %r15 | 1048 | movq %rsp,%rdx |
1049 | CFI_ADJUST_CFA_OFFSET 8 | 1049 | CFI_DEF_CFA_REGISTER rdx |
1050 | movq %rsp,%r15 | ||
1051 | CFI_DEF_CFA_REGISTER r15 | ||
1052 | incl %gs:pda_irqcount | 1050 | incl %gs:pda_irqcount |
1053 | cmove %rax,%rsp | 1051 | cmove %rax,%rsp |
1052 | pushq %rdx | ||
1053 | /*todo CFI_DEF_CFA_EXPRESSION ...*/ | ||
1054 | call __do_softirq | 1054 | call __do_softirq |
1055 | movq %r15,%rsp | 1055 | popq %rsp |
1056 | CFI_DEF_CFA_REGISTER rsp | 1056 | CFI_DEF_CFA_REGISTER rsp |
1057 | decl %gs:pda_irqcount | 1057 | decl %gs:pda_irqcount |
1058 | popq %r15 | ||
1059 | CFI_ADJUST_CFA_OFFSET -8 | ||
1060 | ret | 1058 | ret |
1061 | CFI_ENDPROC | 1059 | CFI_ENDPROC |