repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BUG_ON() Conversion in kernel/signal.c
[linux/fpc-iii.git]
/
arch
/
um
/
include
/
longjmp.h
blob
018b3819ab0bf3ea4fc3007a8240b6b7f99c8dca
1
#ifndef __UML_LONGJMP_H
2
#define __UML_LONGJMP_H
3
4
#include <setjmp.h>
5
#include
"os.h"
6
7
#define UML_SIGLONGJMP(buf, val) do { \
8
longjmp(*buf, val); \
9
} while(0)
10
11
#define UML_SIGSETJMP(buf, enable) ({ \
12
int n; \
13
enable = get_signals(); \
14
n = setjmp(*buf); \
15
if(n != 0) \
16
set_signals(enable); \
17
n; })
18
19
#endif