Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323821
b: refs/heads/master
c: 47d5a5f
h: refs/heads/master
i:
  323819: 312cdf4
v: v3
  • Loading branch information
Steven Rostedt committed Sep 14, 2012
1 parent facbe2c commit 71c1cc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b036d54bf849a75d0103b33d92a53f89ecb9315
refs/heads/master: 47d5a5f88b9d25d6464c9b60c28f391e84e3ed65
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ GLOBAL(ftrace_regs_call)
movq EFLAGS(%rsp), %rax
movq %rax, SS(%rsp)

/* Handlers can change the RIP */
movq RIP(%rsp), %rax
movq %rax, SS+8(%rsp)

/* restore the rest of pt_regs */
movq R15(%rsp), %r15
movq R14(%rsp), %r14
Expand Down

0 comments on commit 71c1cc5

Please sign in to comment.