X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fhppa-linux-os.h;h=961ec444b170bf9fbfde2f3d797d78e516c743ed;hb=015dc5f920a57c2e502eef3f54d91ac8fe225747;hp=97711b64870a38a0cb9ffa34b174552b682ce4b5;hpb=8a19c6876412b8ad1cf729297c2a373d63a0d0ec;p=sbcl.git diff --git a/src/runtime/hppa-linux-os.h b/src/runtime/hppa-linux-os.h index 97711b6..961ec44 100644 --- a/src/runtime/hppa-linux-os.h +++ b/src/runtime/hppa-linux-os.h @@ -2,8 +2,12 @@ #define _HPPA_LINUX_OS_H typedef struct ucontext os_context_t; +/* FIXME: This will change if the parisc-linux people implement + wide-sigcontext for 32-bit kernels */ +typedef unsigned 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; }