X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86%2Fcompat.h;h=1793ac317a30417523cc84fb5d4b2f583b1b4a01;hb=f27b433ef32a77c8cb76f018507453df7c03e552;hp=b270ee04959ea7ce3fa73cf4935f39d9b7e0aa8b;hpb=65ea5b0349903585bfed9720fa06f5edb4f1cd25;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-x86/compat.h b/include/asm-x86/compat.h index b270ee04959..1793ac317a3 100644 --- a/include/asm-x86/compat.h +++ b/include/asm-x86/compat.h @@ -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;