Changeset 894


Ignore:
Timestamp:
Oct 26, 2004, 10:23:10 PM (20 years ago)
Author:
Gary Byers
Message:

Use get_interrupt_tcr() in signal_handler on linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/lisp-exceptions.c

    r892 r894  
    18581858#ifdef LINUX
    18591859
    1860   tcr = (TCR *) xpGPR(context,rcontext);
    1861  
    1862   if (tcr == NULL) {
    1863     tcr = get_tcr(false);
    1864   } else {
    1865     current_r2 = tcr->native_thread_info;
    1866   }
    1867 
     1860  tcr = (TCR *) get_interrupt_tcr(false);
     1861 
    18681862  /* The signal handler's entered with all signals (notably the
    18691863     thread_suspend signal) blocked.  Don't allow any other signals
     
    20372031          old_valence = prepare_to_wait_for_exception_lock(tcr, context);
    20382032          wait_for_exception_lock_in_handler(tcr, context, &xframe_link);
     2033#ifdef DARWIN
     2034          enable_fp_exceptions();
     2035#endif
    20392036          PMCL_exception_handler(signum, context, tcr, info);
    20402037          unlock_exception_lock_in_handler(tcr);
Note: See TracChangeset for help on using the changeset viewer.