X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fsparc-linux-os.h;h=5c02fc663de142d997e0926741260a45ad234160;hb=eac461c1f1ca91cfe282c779291d582ed6b336cb;hp=7214d154754ce4d68f1aceade36f7c9fa2011670;hpb=584bfdc4e1093e43e4eb328a418b012745935a29;p=sbcl.git diff --git a/src/runtime/sparc-linux-os.h b/src/runtime/sparc-linux-os.h index 7214d15..5c02fc6 100644 --- a/src/runtime/sparc-linux-os.h +++ b/src/runtime/sparc-linux-os.h @@ -7,7 +7,7 @@ typedef unsigned long os_context_register_t; static inline os_context_t *arch_os_get_context(void **void_context) { asm volatile ("ta 0x03"); /* ta ST_FLUSH_WINDOWS */ - return (os_context_t *) (void_context + 37); + return (os_context_t *) (*void_context); } unsigned long os_context_fp_control(os_context_t *context);