vserver 1.9.5.x5
[linux-2.6.git] / arch / arm26 / lib / putuser.S
index 90003c5..87588cb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  linux/arch/arm/lib/putuser.S
+ *  linux/arch/arm26/lib/putuser.S
  *
  *  Copyright (C) 2001 Russell King
  *
@@ -28,6 +28,7 @@
  */
 #include <asm/asm_offsets.h>
 #include <asm/thread_info.h>
+#include <asm/errno.h>
 
         .global __put_user_1
 __put_user_1:
@@ -95,7 +96,7 @@ __put_user_8:
         ldmfd   sp!, {pc}^
 
 __put_user_bad:
-       mov     r0, #-14
+       mov     r0, #-EFAULT
        mov     pc, lr
 
 .section __ex_table, "a"