process.h 429 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __PROCESS_H__
  6. #define __PROCESS_H__
  7. #include <signal.h>
  8. /* Copied from linux/compiler-gcc.h since we can't include it directly */
  9. #define barrier() __asm__ __volatile__("": : :"memory")
  10. extern void sig_handler(int sig, struct sigcontext *sc);
  11. extern void alarm_handler(int sig, struct sigcontext *sc);
  12. #endif