[POWERPC] iSeries has no legacy I/O
[sfrench/cifs-2.6.git] / arch / um / include / sysdep-x86_64 / signal.h
1 /*
2  * Copyright (C) 2004 PathScale, Inc
3  * Licensed under the GPL
4  */
5
6 #ifndef __X86_64_SIGNAL_H_
7 #define __X86_64_SIGNAL_H_
8
9 #define ARCH_SIGHDLR_PARAM int sig
10
11 #define ARCH_GET_SIGCONTEXT(sc, sig_addr) \
12         do { \
13                 struct ucontext *__uc; \
14                 asm("movq %%rdx, %0" : "=r" (__uc)); \
15                 sc = (struct sigcontext *) &__uc->uc_mcontext; \
16         } while(0)
17
18 #endif
19
20 /*
21  * Overrides for Emacs so that we follow Linus's tabbing style.
22  * Emacs will notice this stuff at the end of the file and automatically
23  * adjust the settings for this buffer only.  This must remain at the end
24  * of the file.
25  * ---------------------------------------------------------------------------
26  * Local variables:
27  * c-file-style: "linux"
28  * End:
29  */