fix x32 __set_thread_area failure due to junk in upper bits
authorRich Felker <dalias@aerifal.cx>
Sat, 2 May 2015 15:53:45 +0000 (11:53 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 2 May 2015 15:53:45 +0000 (11:53 -0400)
commit2d5c74c21e0483128624c43d4399ef49e057e264
tree705a4187697b5df87e58ca34c3b477b5255e2d79
parent4f69594689992d76088f2b0af79cd91c40579f64
fix x32 __set_thread_area failure due to junk in upper bits

the kernel does not properly clear the upper bits of the syscall
argument, so we have to do it before the syscall.
src/thread/x32/__set_thread_area.s