Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee13...
[pandora-kernel.git] / arch / um / os-Linux / sys-i386 / signal.c
1 /*
2  * Copyright (C) 2006 Jeff Dike (jdike@addtoit.com)
3  * Licensed under the GPL
4  */
5
6 #include <signal.h>
7
8 extern void (*handlers[])(int sig, struct sigcontext *sc);
9
10 void hard_handler(int sig)
11 {
12         struct sigcontext *sc = (struct sigcontext *) (&sig + 1);
13
14         (*handlers[sig])(sig, sc);
15 }