summaryrefslogtreecommitdiff
path: root/src/thread/s390x/__set_thread_area.s
blob: 00a11e25444c27354425cc3541def7f4cae8e5e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.text
.global __set_thread_area
.hidden __set_thread_area
.type   __set_thread_area, %function
__set_thread_area:
	sar  %a1, %r2
	srlg %r2, %r2, 32
	sar  %a0, %r2
	lghi %r2, 0
	br   %r14