diff options
Diffstat (limited to 'src/thread/x86_64/clone.s')
-rw-r--r-- | src/thread/x86_64/clone.s | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thread/x86_64/clone.s b/src/thread/x86_64/clone.s index e006bccd..ce67cc62 100644 --- a/src/thread/x86_64/clone.s +++ b/src/thread/x86_64/clone.s @@ -1,7 +1,6 @@ /* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ .text .global __uniclone -.type __uniclone,%function /* rdi = child_stack, rsi = start, rdx = pthread_struct */ __uniclone: subq $8,%rsp /* pad parent stack to prevent branch later */ @@ -19,4 +18,3 @@ __uniclone: pop %rdi /* child stack: restore pthread_struct * parent stack: undo rsp displacement */ ret -.size __uniclone,.-__uniclone |