X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-linux-os.h;h=48e3e25ea5e79ea15f93eeb2bfcfc36fe24739d5;hb=4b585c19dcd87dc3410094a2d2d7385d49200a44;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..48e3e25 100644 --- a/src/runtime/x86-64-linux-os.h +++ b/src/runtime/x86-64-linux-os.h @@ -1,14 +1,15 @@ -#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); void os_restore_fp_control(os_context_t *context); -#endif /* _X86_LINUX_OS_H */ +#endif /* _X86_64_LINUX_OS_H */