blob: 2b4d16e8ac18774203cdec192d20a1d1c979d91a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#define arch_set_scno s390_set_scno
#define ARCH_REGSET s390_regset
#include "../s390/set_scno.c"
#undef ARCH_REGSET
#undef arch_set_scno
#define arch_set_scno s390x_set_scno
#define ARCH_REGSET s390x_regset
#include "../s390/set_scno.c"
#undef ARCH_REGSET
#undef arch_set_scno
static int
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
{
if (tcp->currpers == 1)
return s390_set_scno(tcp, scno);
else
return s390x_set_scno(tcp, scno);
}
|