aboutsummaryrefslogtreecommitdiff
path: root/linux/ia64/get_scno.c
blob: 0ddc17a930c8859d69540f3740505b2afbbe8981 (plain)
1
2
3
4
5
6
7
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static int
arch_get_scno(struct tcb *tcp)
{
	tcp->scno = ia64_ia32mode ? ia64_regs.gr[0] : ia64_regs.gr[15];
	return 1;
}