Linux 2.6.39-rc2
[pohmelfs.git] / arch / um / os-Linux / sys-x86_64 / signal.c
blob82a388822cd35c55b006f9dbe0d3f1230b83b620
1 /*
2 * Copyright (C) 2006 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #include <signal.h>
8 extern void handle_signal(int sig, struct sigcontext *sc);
10 void hard_handler(int sig)
12 struct ucontext *uc;
13 asm("movq %%rdx, %0" : "=r" (uc));
15 handle_signal(sig, (struct sigcontext *) &uc->uc_mcontext);