__copy_from_user(current->thread.fph, &sc->sc_fr[32], 96*16);
psr->mfh = 0; /* drop signal handler's fph contents... */
- if (psr->dfh)
- current->thread.last_fph_cpu = -1;
- else {
+ if (!psr->dfh)
__ia64_load_fpu(current->thread.fph);
- ia64_set_fpu_owner(current);
- current->thread.last_fph_cpu = smp_processor_id();
- }
}
return err;
}
else
errno = -errno;
}
- } else if ((long) scr->pt.r10 != -1)
+ } else if (scr->pt.r10 != -1)
/*
* A system calls has to be restarted only if one of the error codes
* ERESTARTNOHAND, ERESTARTSYS, or ERESTARTNOINTR is returned. If r10