Pull acpi_bus_register_driver into release branch
[pandora-kernel.git] / arch / um / os-Linux / trap.c
index 321e1c8..90b29ae 100644 (file)
@@ -10,6 +10,7 @@
 #include "user_util.h"
 #include "os.h"
 #include "mode.h"
+#include "longjmp.h"
 
 void usr2_handler(int sig, union uml_pt_regs *regs)
 {
@@ -34,7 +35,7 @@ void os_fill_handlinfo(struct kern_handlers h)
 
 void do_longjmp(void *b, int val)
 {
-       sigjmp_buf *buf = b;
+       jmp_buf *buf = b;
 
-       siglongjmp(*buf, val);
+       UML_LONGJMP(buf, val);
 }