VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jeff Dike <jdike@addtoit.com> 2008-02-04 22:31:07 -0800 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2008-02-05 09:44:29 -0800 commit: 8efa3c9d545ab6adc5c5e001cbd7aee60909b3da parent: 0b4e273fb83bce5dd8e166a4defb16ebdd215abf
Commit Summary:
uml: eliminate setjmp_wrapper
Diffstat:
1 file changed, 0 insertions, 14 deletions
diff --git a/arch/um/os-Linux/util.c b/arch/um/os-Linux/util.c
index 3e058ce9ffb6..a6f31d476993 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;