X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-linux-os.h;h=60c612294e96cb2eb7bc6a5779828e331dd7fbe3;hb=0e3c4b4db102bd204a30402d7e5a0de44aea57ce;hp=90b34c0105d90f7b3735b727abc29ca2014a6691;hpb=78fa16bf55be44cc16845be84d98023e83fb14bc;p=sbcl.git diff --git a/src/runtime/x86-64-linux-os.h b/src/runtime/x86-64-linux-os.h index 90b34c0..60c6122 100644 --- a/src/runtime/x86-64-linux-os.h +++ b/src/runtime/x86-64-linux-os.h @@ -1,14 +1,16 @@ -#ifndef _X86_LINUX_OS_H -#define _X86_LINUX_OS_H +#ifndef _X86_64_LINUX_OS_H +#define _X86_64_LINUX_OS_H 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_LINUX_OS_H */ +#endif /* _X86_64_LINUX_OS_H */