aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/compat.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2008-03-23 04:01:53 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:22 -0400
commitc96a6d41aa033c03b43e5a09448bddcc971797b1 (patch)
tree33ce1b27eef5b43e44100915295a691e8396ac84 /include/asm-x86/compat.h
parente52da357a15db9e12b96b4e40dffe6b9e54bb976 (diff)
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>
Diffstat (limited to 'include/asm-x86/compat.h')
-rw-r--r--include/asm-x86/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/compat.h b/include/asm-x86/compat.h
index d3e8f3e87ee8..1793ac317a30 100644
--- a/include/asm-x86/compat.h
+++ b/include/asm-x86/compat.h
@@ -204,7 +204,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
204 return (u32)(unsigned long)uptr; 204 return (u32)(unsigned long)uptr;
205} 205}
206 206
207static __inline__ void __user *compat_alloc_user_space(long len) 207static inline void __user *compat_alloc_user_space(long len)
208{ 208{
209 struct pt_regs *regs = task_pt_regs(current); 209 struct pt_regs *regs = task_pt_regs(current);
210 return (void __user *)regs->sp - len; 210 return (void __user *)regs->sp - len;