X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fgencgc.c;h=b9bd86279cb3adf242c494720a85c4553573bda2;hb=64eccd1724e5f1e638bfc574f7f376427ee3dcb1;hp=5e5620f0afdb33197697a3e99539eb8b51797ecf;hpb=78c7dbe937e6783e8da6f7a39c3eba87294d197c;p=sbcl.git diff --git a/src/runtime/gencgc.c b/src/runtime/gencgc.c index 5e5620f..b9bd862 100644 --- a/src/runtime/gencgc.c +++ b/src/runtime/gencgc.c @@ -4728,14 +4728,8 @@ general_alloc_internal(long nbytes, int page_type_flag, struct alloc_region *reg #ifdef LISP_FEATURE_PPC /* PPC calls alloc() from a trap, look up the most * recent one and frob that. */ - { - int context_index = - fixnum_value(SymbolValue(FREE_INTERRUPT_CONTEXT_INDEX, - thread)); - os_context_t *context = - thread->interrupt_contexts[context_index - 1]; - maybe_save_gc_mask_and_block_deferrables(context); - } + maybe_save_gc_mask_and_block_deferrables + (get_interrupt_context_for_thread(thread)); #else maybe_save_gc_mask_and_block_deferrables(NULL); #endif