A bug was reported on ARM where set_fs might be called after it waschecked on the work pending function. ARM64 is not affected by this bugbut has a similar construct. In order to avoid any similar problems inthe future, the addr_limit_user_check function is moved at the beginningof the loop.