X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-linux-os.h;h=714d40d432be4b2f57559d8680b4f2554c277f91;hb=37d3828773e2f847bb1ed7522b0af4fb8e736fc8;hp=4f65e16430678c1980089151d80a0953ce7f134a;hpb=4ae1b794a5d6a90794468cf8017f5307f2c30dfe;p=sbcl.git diff --git a/src/runtime/ppc-linux-os.h b/src/runtime/ppc-linux-os.h index 4f65e16..714d40d 100644 --- a/src/runtime/ppc-linux-os.h +++ b/src/runtime/ppc-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 /* _PPC_LINUX_OS_H */