X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fx86-64-linux-os.h;h=60c612294e96cb2eb7bc6a5779828e331dd7fbe3;hb=dd54f9e004a0a83d1328e94648f48dcc27e0be5b;hp=ba969889384bb088c8244e9e7fe1c9efd8fe6cb7;hpb=cd056980425e3fa67b8b77de3936ccb46508c3b0;p=sbcl.git diff --git a/src/runtime/x86-64-linux-os.h b/src/runtime/x86-64-linux-os.h index ba96988..60c6122 100644 --- a/src/runtime/x86-64-linux-os.h +++ b/src/runtime/x86-64-linux-os.h @@ -4,11 +4,13 @@ typedef struct ucontext os_context_t; typedef long os_context_register_t; -static inline os_context_t *arch_os_get_context(void **void_context) { +static inline os_context_t *arch_os_get_context(void **void_context) +{ return (os_context_t *) *void_context; } unsigned long os_context_fp_control(os_context_t *context); +#define RESTORE_FP_CONTROL_FROM_CONTEXT void os_restore_fp_control(os_context_t *context); #endif /* _X86_64_LINUX_OS_H */