Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4196
b: refs/heads/master
c: 2ba3e3e
h: refs/heads/master
v: v3
  • Loading branch information
Keith Owens authored and Tony Luck committed Jul 6, 2005
1 parent ee6954d commit da2cd85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fe4c1b16854f0440939c62b8102cbf5c75e7cdc
refs/heads/master: 2ba3e3e65cf182436757ba13ea8d564e2950fb56
2 changes: 2 additions & 0 deletions trunk/arch/ia64/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,15 @@ restore_sigcontext (struct sigcontext __user *sc, struct sigscratch *scr)

__copy_from_user(current->thread.fph, &sc->sc_fr[32], 96*16);
psr->mfh = 0; /* drop signal handler's fph contents... */
preempt_disable();
if (psr->dfh)
ia64_drop_fpu(current);
else {
/* We already own the local fph, otherwise psr->dfh wouldn't be 0. */
__ia64_load_fpu(current->thread.fph);
ia64_set_local_fpu_owner(current);
}
preempt_enable();
}
return err;
}
Expand Down

0 comments on commit da2cd85

Please sign in to comment.