2 * Copyright (C) 2004 PathScale, Inc
3 * Licensed under the GPL
6 #ifndef __X86_64_SIGNAL_H_
7 #define __X86_64_SIGNAL_H_
9 #define ARCH_GET_SIGCONTEXT(sc, sig_addr) \
11 struct ucontext *__uc; \
12 asm("movq %%rdx, %0" : "=r" (__uc)); \
13 sc = (struct sigcontext *) &__uc->uc_mcontext; \
19 * Overrides for Emacs so that we follow Linus's tabbing style.
20 * Emacs will notice this stuff at the end of the file and automatically
21 * adjust the settings for this buffer only. This must remain at the end
23 * ---------------------------------------------------------------------------
25 * c-file-style: "linux"