Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Jeff Dike | 5d33e4d | 2008-05-12 14:01:58 -0700 | [diff] [blame] | 2 | * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * Licensed under the GPL |
| 4 | */ |
| 5 | |
| 6 | #ifndef __PROCESS_H__ |
| 7 | #define __PROCESS_H__ |
| 8 | |
| 9 | #include <signal.h> |
| 10 | |
Jeff Dike | 5d33e4d | 2008-05-12 14:01:58 -0700 | [diff] [blame] | 11 | /* Copied from linux/compiler-gcc.h since we can't include it directly */ |
| 12 | #define barrier() __asm__ __volatile__("": : :"memory") |
| 13 | |
Jeff Dike | fe2cc53 | 2008-05-12 14:02:00 -0700 | [diff] [blame] | 14 | extern void sig_handler(int sig, struct sigcontext *sc); |
| 15 | extern void alarm_handler(int sig, struct sigcontext *sc); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
| 17 | #endif |