Changeset 14124


Ignore:
Timestamp:
Aug 5, 2010, 1:17:09 PM (9 years ago)
Author:
gb
Message:

extra arg to install_signal_handler; ignored on PPC.

File:
1 edited

Legend:

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

    r13976 r14124  
    22092209
    22102210void
    2211 install_signal_handler(int signo, void *handler, Boolean system)
     2211install_signal_handler(int signo, void *handler, Boolean system, Boolean on_altstack)
    22122212{
    22132213  struct sigaction sa;
     
    22492249  if (install_signal_handlers_for_exceptions) {
    22502250    extern int no_sigtrap;
    2251     install_signal_handler(SIGILL, (void *)signal_handler, true);
     2251    install_signal_handler(SIGILL, (void *)signal_handler, true, false);
    22522252    if (no_sigtrap != 1) {
    2253       install_signal_handler(SIGTRAP, (void *)signal_handler, true);
    2254     }
    2255     install_signal_handler(SIGBUS,  (void *)signal_handler, true);
    2256     install_signal_handler(SIGSEGV, (void *)signal_handler, true);
    2257     install_signal_handler(SIGFPE, (void *)signal_handler, true);
     2253      install_signal_handler(SIGTRAP, (void *)signal_handler, true, false);
     2254    }
     2255    install_signal_handler(SIGBUS,  (void *)signal_handler, true, false);
     2256    install_signal_handler(SIGSEGV, (void *)signal_handler, true, false);
     2257    install_signal_handler(SIGFPE, (void *)signal_handler, true, false);
    22582258  }
    22592259 
    22602260  install_signal_handler(SIGNAL_FOR_PROCESS_INTERRUPT,
    2261                          (void *)interrupt_handler, true);
     2261                         (void *)interrupt_handler, true, false);
    22622262  signal(SIGPIPE, SIG_IGN);
    22632263}
     
    22982298  thread_kill_signal = SIG_KILL_THREAD;
    22992299
    2300   install_signal_handler(thread_suspend_signal, (void *) suspend_resume_handler, true);
    2301   install_signal_handler(thread_kill_signal, (void *)thread_kill_handler, true);
     2300  install_signal_handler(thread_suspend_signal, (void *) suspend_resume_handler, true, false);
     2301  install_signal_handler(thread_kill_signal, (void *)thread_kill_handler, true, false);
    23022302}
    23032303
Note: See TracChangeset for help on using the changeset viewer.