X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=arch%2Fum%2Fos-Linux%2Futil.c;h=a6f31d476993cd0314c8c6adbf9dad0c7c796f15;hb=8efa3c9d545ab6adc5c5e001cbd7aee60909b3da;hp=3e058ce9ffb6cd044a8fbf5ff33883b46b649348;hpb=0b4e273fb83bce5dd8e166a4defb16ebdd215abf;p=powerpc.git diff --git a/arch/um/os-Linux/util.c b/arch/um/os-Linux/util.c index 3e058ce9ff..a6f31d4769 100644 --- 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); } -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;