X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-linux-os.h;h=f2a39f9c19acf0aac592ecfc9e2defd97dfe0f9b;hb=37d3828773e2f847bb1ed7522b0af4fb8e736fc8;hp=c24c962301a2571e4a841aea018324cd2cac15b8;hpb=426bde0954ef91387b8ab0d4528fad9ec02fa24c;p=sbcl.git diff --git a/src/runtime/x86-linux-os.h b/src/runtime/x86-linux-os.h index c24c962..f2a39f9 100644 --- a/src/runtime/x86-linux-os.h +++ b/src/runtime/x86-linux-os.h @@ -4,11 +4,13 @@ typedef struct ucontext os_context_t; typedef greg_t 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_LINUX_OS_H */