]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/os-Linux/uaccess.c
ext4: remove unused variable in ext4_get_parent
[linux-2.6-omap-h63xx.git] / arch / um / os-Linux / uaccess.c
index 865f6a6a25905924d3f17ab6a449451cd73ebb9c..087ed74ffca55081ab7052d51d74103f34d3c7f5 100644 (file)
@@ -1,15 +1,14 @@
 /*
  * Copyright (C) 2001 Chris Emerson (cemerson@chiark.greenend.org.uk)
- * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com)
+ * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  * 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)
 {
@@ -17,7 +16,7 @@ unsigned long __do_user_copy(void *to, const void *from, int n,
 
        jmp_buf jbuf;
        *fault_catcher = &jbuf;
-       if(UML_SETJMP(&jbuf) == 0){
+       if (UML_SETJMP(&jbuf) == 0) {
                (*op)(to, from, n);
                ret = 0;
                *faulted_out = 0;