diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2007-05-08 20:48:13 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:10 +0200 |
commit | c48736bed95aca1374b2cb19dc76e788958076a9 (patch) | |
tree | 4ca8922e55ce26825ac52993df42b501590841a9 /i386 | |
parent | 2c1f7f5ef7e2252312ecfa77b2352e89669006bf (diff) |
2007-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/fpu.c (fpu_set_state): Set fp_valid to TRUE. Free the
unused ifps.
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386/fpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c index d5824f8..ad2173c 100644 --- a/i386/i386/fpu.c +++ b/i386/i386/fpu.c @@ -270,10 +270,11 @@ ASSERT_IPL(SPL0); ifps->fp_save_state.fp_dp = user_fp_state->fp_dp; ifps->fp_save_state.fp_ds = user_fp_state->fp_ds; ifps->fp_regs = *user_fp_regs; + ifps->fp_valid = TRUE; simple_unlock(&pcb->lock); if (new_ifps != 0) - zfree(ifps_zone, (vm_offset_t) ifps); + zfree(ifps_zone, (vm_offset_t) new_ifps); } return KERN_SUCCESS; |