| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* | 
 | 2 |  * Copyright (C) 2004 PathScale, Inc | 
 | 3 |  * Licensed under the GPL | 
 | 4 |  */ | 
 | 5 |  | 
 | 6 | #ifndef __I386_SIGNAL_H_ | 
 | 7 | #define __I386_SIGNAL_H_ | 
 | 8 |  | 
 | 9 | #include <signal.h> | 
 | 10 |  | 
| Bodo Stroesser | 51a6b0c | 2005-05-05 16:15:38 -0700 | [diff] [blame] | 11 | #define ARCH_SIGHDLR_PARAM int sig | 
 | 12 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #define ARCH_GET_SIGCONTEXT(sc, sig) \ | 
 | 14 | 	do sc = (struct sigcontext *) (&sig + 1); while(0) | 
 | 15 |  | 
 | 16 | #endif | 
 | 17 |  | 
 | 18 | /* | 
 | 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 | 
 | 22 |  * of the file. | 
 | 23 |  * --------------------------------------------------------------------------- | 
 | 24 |  * Local variables: | 
 | 25 |  * c-file-style: "linux" | 
 | 26 |  * End: | 
 | 27 |  */ |