Commit b2b1832b authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix typos in uptr changes.

parent 86f52e0f
......@@ -108,9 +108,9 @@ typedef u32 compat_sigset_word;
*/
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 *)(unsigned long)uptr;
}
#endif /* _ASM_SPARC64_COMPAT_H */
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