]> err.no Git - linux-2.6/blobdiff - arch/um/include/um_uaccess.h
sparc64: Disable local interrupts around xcall_deliver_impl() invocation.
[linux-2.6] / arch / um / include / um_uaccess.h
index 5ef311a1a394db18365498340cfec34b2e147c8c..45c04999d670d1129acb401eb94ed26974213623 100644 (file)
@@ -6,7 +6,9 @@
 #ifndef __ARCH_UM_UACCESS_H
 #define __ARCH_UM_UACCESS_H
 
-#include "asm/fixmap.h"
+#include <asm/elf.h>
+#include <asm/fixmap.h>
+#include "sysdep/archsetjmp.h"
 
 #define __under_task_size(addr, size) \
        (((unsigned long) (addr) < TASK_SIZE) && \
@@ -30,6 +32,9 @@
 extern int copy_from_user(void *to, const void __user *from, int n);
 extern int copy_to_user(void __user *to, const void *from, int n);
 
+extern int __do_copy_to_user(void *to, const void *from, int n,
+                            void **fault_addr, jmp_buf **fault_catcher);
+
 /*
  * strncpy_from_user: - Copy a NUL terminated string from userspace.
  * @dst:   Destination address, in kernel space.  This buffer must be at