[PATCH][COMPAT] fix typo in compat_ptr

From: Stephen Rothwell (sfr@canb.auug.org.au)
Date: Mon Mar 24 2003 - 01:32:52 EST


Sorry about this Linus.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

diff -ruN 2.5.65-2003032309-32bit.2/include/asm-parisc/compat.h 2.5.65-2003032309-32bit.2a/include/asm-parisc/compat.h --- 2.5.65-2003032309-32bit.2/include/asm-parisc/compat.h 2003-03-24 14:25:45.000000000 +1100 +++ 2.5.65-2003032309-32bit.2a/include/asm-parisc/compat.h 2003-03-24 17:28:24.000000000 +1100 @@ -112,7 +112,7 @@ */ 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; } diff -ruN 2.5.65-2003032309-32bit.2/include/asm-ppc64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-ppc64/compat.h --- 2.5.65-2003032309-32bit.2/include/asm-ppc64/compat.h 2003-03-24 14:25:45.000000000 +1100 +++ 2.5.65-2003032309-32bit.2a/include/asm-ppc64/compat.h 2003-03-24 17:28:33.000000000 +1100 @@ -106,7 +106,7 @@ */ 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; } diff -ruN 2.5.65-2003032309-32bit.2/include/asm-s390x/compat.h 2.5.65-2003032309-32bit.2a/include/asm-s390x/compat.h --- 2.5.65-2003032309-32bit.2/include/asm-s390x/compat.h 2003-03-24 14:25:45.000000000 +1100 +++ 2.5.65-2003032309-32bit.2a/include/asm-s390x/compat.h 2003-03-24 17:28:41.000000000 +1100 @@ -109,7 +109,7 @@ */ 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); } diff -ruN 2.5.65-2003032309-32bit.2/include/asm-sparc64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-sparc64/compat.h --- 2.5.65-2003032309-32bit.2/include/asm-sparc64/compat.h 2003-03-24 14:25:45.000000000 +1100 +++ 2.5.65-2003032309-32bit.2a/include/asm-sparc64/compat.h 2003-03-24 17:28:48.000000000 +1100 @@ -108,7 +108,7 @@ */ 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; } diff -ruN 2.5.65-2003032309-32bit.2/include/asm-x86_64/compat.h 2.5.65-2003032309-32bit.2a/include/asm-x86_64/compat.h --- 2.5.65-2003032309-32bit.2/include/asm-x86_64/compat.h 2003-03-24 14:25:45.000000000 +1100 +++ 2.5.65-2003032309-32bit.2a/include/asm-x86_64/compat.h 2003-03-24 17:28:55.000000000 +1100 @@ -115,7 +115,7 @@ */ 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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:14 EST