You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
437 B

#define arch_get_scno s390_get_scno
#define ARCH_REGSET s390_regset
#include "../s390/get_scno.c"
#undef ARCH_REGSET
#undef arch_get_scno
#define arch_get_scno s390x_get_scno
#define ARCH_REGSET s390x_regset
#include "../s390/get_scno.c"
#undef ARCH_REGSET
#undef arch_get_scno
static int
arch_get_scno(struct tcb *tcp)
{
if (s390x_io.iov_len == sizeof(s390_regset))
return s390_get_scno(tcp);
else
return s390x_get_scno(tcp);
}