X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fsparc-linux-os.c;h=8c685c298e364868dfad91d6e6f153611e50bc28;hb=310d5f86d736ecf9525711b087b04797c549879c;hp=9d4d683e4d17316f451206b9344a8b58176bc5ce;hpb=637371f800e71ac4449e01d59571c9d10f6bde26;p=sbcl.git diff --git a/src/runtime/sparc-linux-os.c b/src/runtime/sparc-linux-os.c index 9d4d683..8c685c2 100644 --- a/src/runtime/sparc-linux-os.c +++ b/src/runtime/sparc-linux-os.c @@ -37,8 +37,18 @@ #include "validate.h" size_t os_vm_page_size; -#if defined GENCGC /* unlikely ... */ -#include "gencgc.h" +#ifdef LISP_FEATURE_SB_THREAD +#error "Define threading support functions" +#else +struct thread *arch_os_get_current_thread() { + return all_threads; +} +int arch_os_thread_init(struct thread *thread) { + return 1; /* success */ +} +int arch_os_thread_cleanup(struct thread *thread) { + return 1; /* success */ +} #endif os_context_register_t *