X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-linux-os.h;h=3ae5596a3a76d1e3ee050b36d9fa9fdb5ddb9c49;hb=4b585c19dcd87dc3410094a2d2d7385d49200a44;hp=f3082864841e4fd0a896c9e2968639c96c5768b4;hpb=1419c1d2d50f039be46a8667351b7738ac4965e4;p=sbcl.git diff --git a/src/runtime/ppc-linux-os.h b/src/runtime/ppc-linux-os.h index f308286..3ae5596 100644 --- a/src/runtime/ppc-linux-os.h +++ b/src/runtime/ppc-linux-os.h @@ -4,12 +4,12 @@ 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); -extern struct thread *arch_os_get_current_thread(); #endif /* _PPC_LINUX_OS_H */