2 * Copyright (C) 2004 PathScale, Inc
3 * Licensed under the GPL
9 #include "sysdep/signal.h"
11 void sig_handler(int sig)
13 struct sigcontext *sc;
15 ARCH_GET_SIGCONTEXT(sc, sig);
16 CHOOSE_MODE_PROC(sig_handler_common_tt, sig_handler_common_skas,
20 extern int timer_irq_inited;
22 void alarm_handler(int sig)
24 struct sigcontext *sc;
26 ARCH_GET_SIGCONTEXT(sc, sig);
27 if(!timer_irq_inited) return;
32 CHOOSE_MODE_PROC(sig_handler_common_tt, sig_handler_common_skas,
40 * Overrides for Emacs so that we follow Linus's tabbing style.
41 * Emacs will notice this stuff at the end of the file and automatically
42 * adjust the settings for this buffer only. This must remain at the end
44 * ---------------------------------------------------------------------------
46 * c-file-style: "linux"