Sign in
android
/
platform
/
external
/
strace
/
ed92d87
/
.
/
linux
/
s390
/
get_scno.c
blob: d323860d01204bbbb614f9c37f0fa4a36c90f697 [
file
] [
log
] [
blame
]
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static
int
arch_get_scno
(
struct
tcb
*
tcp
)
{
tcp
->
scno
=
s390_regset
.
gprs
[
2
]
?
s390_regset
.
gprs
[
2
]
:
s390_regset
.
gprs
[
1
];
return
1
;
}