projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.29.27: add shebang line to fasls
[sbcl.git]
/
src
/
runtime
/
x86-linux-os.c
diff --git
a/src/runtime/x86-linux-os.c
b/src/runtime/x86-linux-os.c
index
c15665d
..
ddbe154
100644
(file)
--- a/
src/runtime/x86-linux-os.c
+++ b/
src/runtime/x86-linux-os.c
@@
-208,7
+208,8
@@
os_context_sigmask_addr(os_context_t *context)
void
os_restore_fp_control(os_context_t *context)
{
void
os_restore_fp_control(os_context_t *context)
{
- asm ("fldcw %0" : : "m" (context->uc_mcontext.fpregs->cw));
+ if (context->uc_mcontext.fpregs)
+ asm ("fldcw %0" : : "m" (context->uc_mcontext.fpregs->cw));
}
void
}
void