summaryrefslogtreecommitdiff
path: root/src/thread/s390x/__set_thread_area.s
blob: fd41291342f4656be2efc7fcdb7ea8a4e465c345 (plain) (blame)
1
2
3
4
5
6
7
8
9
.text
.global __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