projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uml: eliminate setjmp_wrapper
[powerpc.git]
/
arch
/
um
/
os-Linux
/
util.c
diff --git
a/arch/um/os-Linux/util.c
b/arch/um/os-Linux/util.c
index
3e058ce
..
a6f31d4
100644
(file)
--- a/
arch/um/os-Linux/util.c
+++ b/
arch/um/os-Linux/util.c
@@
-88,21
+88,6
@@
void setup_hostinfo(char *buf, int len)
host.release, host.version, host.machine);
}
host.release, host.version, host.machine);
}
-int setjmp_wrapper(void (*proc)(void *, void *), ...)
-{
- va_list args;
- jmp_buf buf;
- int n;
-
- n = UML_SETJMP(&buf);
- if(n == 0){
- va_start(args, proc);
- (*proc)(&buf, &args);
- }
- va_end(args);
- return n;
-}
-
void os_dump_core(void)
{
int pid;
void os_dump_core(void)
{
int pid;