aboutsummaryrefslogtreecommitdiff
path: root/system/i386/__restore.S
blob: 2c7936a96620b9aea0c605caf9b33b479b71d7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "syscalls.h"

.text
.type   __restore,@function
.global __restore
.align 8
__restore:
	popl %eax
	movl $__NR_sigreturn,%eax
	int $0x80
	hlt	/* die if syscall returns */
.size	__restore,.-__restore