summaryrefslogtreecommitdiffstats
path: root/arch/um/include/sysdep-i386/signal.h
blob: 07518b16213619a1d88649ceb1ed84dd019cae2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (C) 2004 PathScale, Inc
 * Licensed under the GPL
 */

#ifndef __I386_SIGNAL_H_
#define __I386_SIGNAL_H_

#include <signal.h>

#define ARCH_SIGHDLR_PARAM int sig

#define ARCH_GET_SIGCONTEXT(sc, sig) \
	do sc = (struct sigcontext *) (&sig + 1); while(0)

#endif

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
OpenPOWER on IntegriCloud