Commit 477eaabe authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] fix typo in compat_ptr

Sorry about that Linus.
parent 99447171
...@@ -112,7 +112,7 @@ typedef u32 compat_sigset_word; ...@@ -112,7 +112,7 @@ typedef u32 compat_sigset_word;
*/ */
typedef u32 compat_uptr_t; typedef u32 compat_uptr_t;
static inline void *compat_ptr(compat_ptr_t uptr) static inline void *compat_ptr(compat_uptr_t uptr)
{ {
return (void *)uptr; return (void *)uptr;
} }
......
...@@ -106,7 +106,7 @@ typedef u32 compat_sigset_word; ...@@ -106,7 +106,7 @@ typedef u32 compat_sigset_word;
*/ */
typedef u32 compat_uptr_t; typedef u32 compat_uptr_t;
static inline void *compat_ptr(compat_ptr_t uptr) static inline void *compat_ptr(compat_uptr_t uptr)
{ {
return (void *)uptr; return (void *)uptr;
} }
......
...@@ -109,7 +109,7 @@ typedef u32 compat_sigset_word; ...@@ -109,7 +109,7 @@ typedef u32 compat_sigset_word;
*/ */
typedef u32 compat_uptr_t; typedef u32 compat_uptr_t;
static inline void *compat_ptr(compat_ptr_t uptr) static inline void *compat_ptr(compat_uptr_t uptr)
{ {
return (void *)(uptr & 0x7fffffffUL); return (void *)(uptr & 0x7fffffffUL);
} }
......
...@@ -108,7 +108,7 @@ typedef u32 compat_sigset_word; ...@@ -108,7 +108,7 @@ typedef u32 compat_sigset_word;
*/ */
typedef u32 compat_uptr_t; typedef u32 compat_uptr_t;
static inline void *compat_ptr(compat_ptr_t uptr) static inline void *compat_ptr(compat_uptr_t uptr)
{ {
return (void *)uptr; return (void *)uptr;
} }
......
...@@ -115,7 +115,7 @@ typedef u32 compat_sigset_word; ...@@ -115,7 +115,7 @@ typedef u32 compat_sigset_word;
*/ */
typedef u32 compat_uptr_t; typedef u32 compat_uptr_t;
static inline void *compat_ptr(compat_ptr_t uptr) static inline void *compat_ptr(compat_uptr_t uptr)
{ {
return (void *)uptr; return (void *)uptr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment