blob: bb873a51262e5a6707ae434e478b9bc13cbfe413 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Jeff Dike5d33e4d2008-05-12 14:01:58 -07002 * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * Licensed under the GPL
4 */
5
6#ifndef __PROCESS_H__
7#define __PROCESS_H__
8
9#include <signal.h>
10
Jeff Dike5d33e4d2008-05-12 14:01:58 -070011/* Copied from linux/compiler-gcc.h since we can't include it directly */
12#define barrier() __asm__ __volatile__("": : :"memory")
13
Jeff Dikefe2cc532008-05-12 14:02:00 -070014extern void sig_handler(int sig, struct sigcontext *sc);
15extern void alarm_handler(int sig, struct sigcontext *sc);
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
17#endif