include/asm-x86/compat.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e52da357a1
commit
c96a6d41aa
|
@ -204,7 +204,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
|
||||||
return (u32)(unsigned long)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);
|
struct pt_regs *regs = task_pt_regs(current);
|
||||||
return (void __user *)regs->sp - len;
|
return (void __user *)regs->sp - len;
|
||||||
|
|
Loading…
Reference in New Issue