Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33697
b: refs/heads/master
c: c05991e
h: refs/heads/master
i:
  33695: dae2834
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Aug 30, 2006
1 parent 3851159 commit 589a42d
Show file tree
Hide file tree
Showing 3 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: 11012d419cfc0e0f78ca356aca03674217910124
refs/heads/master: c05991ed12fd71e539dd8de8f5663450cd0c934c
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,8 @@ ENTRY(kernel_thread)
ENDPROC(kernel_thread)

child_rip:
pushq $0 # fake return address
CFI_STARTPROC
/*
* Here we are in the child and the registers are set as they were
* at kernel_thread() invocation in the parent.
Expand All @@ -983,6 +985,7 @@ child_rip:
# exit
xorl %edi, %edi
call do_exit
CFI_ENDPROC
ENDPROC(child_rip)

/*
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ startup_64:
* jump
*/
movq initial_code(%rip),%rax
pushq $0 # fake return address
jmp *%rax

/* SMP bootup changes these two */
Expand Down

0 comments on commit 589a42d

Please sign in to comment.