Sign in
android
/
platform
/
external
/
musl
/
e5aa498451c85c74d924ba1d7b03a87a1774d1ed
/
.
/
arch
/
s390x
/
pthread_arch.h
blob: e54fec3fe64fa763ae5b0fbcae71ef62a953aa4f [
file
] [
log
] [
blame
]
static
inline
uintptr_t
__get_tp
()
{
uintptr_t
tp
;
__asm__
(
"ear %0, %%a0\n"
"sllg %0, %0, 32\n"
"ear %0, %%a1\n"
:
"=r"
(
tp
));
return
tp
;
}
#define
MC_PC psw
.
addr