]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/compat.h
rename div64_64 to div64_u64
[linux-2.6-omap-h63xx.git] / include / asm-x86 / compat.h
index b270ee04959ea7ce3fa73cf4935f39d9b7e0aa8b..1793ac317a30417523cc84fb5d4b2f583b1b4a01 100644 (file)
@@ -190,7 +190,7 @@ typedef struct user_regs_struct32 compat_elf_gregset_t;
  * A pointer passed in from user mode. This should not
  * be used for syscall parameters, just declare them
  * as pointers because the syscall entry code will have
- * appropriately comverted them already.
+ * appropriately converted them already.
  */
 typedef        u32             compat_uptr_t;
 
@@ -204,7 +204,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
        return (u32)(unsigned long)uptr;
 }
 
-static __inline__ void __user *compat_alloc_user_space(long len)
+static inline void __user *compat_alloc_user_space(long len)
 {
        struct pt_regs *regs = task_pt_regs(current);
        return (void __user *)regs->sp - len;