]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/um/os-Linux/uaccess.c
uml: get rid of do_longjmp
[mirror_ubuntu-bionic-kernel.git] / arch / um / os-Linux / uaccess.c
index 865f6a6a25905924d3f17ab6a449451cd73ebb9c..8d27b6d1df91c58b69685fce86c2f4ae4ea9134e 100644 (file)
@@ -4,12 +4,11 @@
  * Licensed under the GPL
  */
 
-#include <setjmp.h>
-#include <string.h>
+#include <stddef.h>
 #include "longjmp.h"
 
 unsigned long __do_user_copy(void *to, const void *from, int n,
-                            void **fault_addr, void **fault_catcher,
+                            void **fault_addr, jmp_buf **fault_catcher,
                             void (*op)(void *to, const void *from,
                                        int n), int *faulted_out)
 {