Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea93a6e2 authored by Al Viro's avatar Al Viro
Browse files

amd64: get rid of useless RESTORE_TOP_OF_STACK in stub_execve()



we are not going to return via SYSRET anyway.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0aa0203f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -886,7 +886,6 @@ ENTRY(stub_execve)
	SAVE_REST
	FIXUP_TOP_OF_STACK %r11
	call sys_execve
	RESTORE_TOP_OF_STACK %r11
	movq %rax,RAX(%rsp)
	RESTORE_REST
	jmp int_ret_from_sys_call