X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-parisc%2Fcompat.h;h=38b918feead90ee9e2218d052346cef8046975a8;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=289624d8b2d4681cfaed6a729a5313e07b153930;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/asm-parisc/compat.h b/include/asm-parisc/compat.h index 289624d8b..38b918fee 100644 --- a/include/asm-parisc/compat.h +++ b/include/asm-parisc/compat.h @@ -138,11 +138,6 @@ static inline void __user *compat_ptr(compat_uptr_t uptr) return (void __user *)(unsigned long)uptr; } -static inline compat_uptr_t ptr_to_compat(void __user *uptr) -{ - return (u32)(unsigned long)uptr; -} - static __inline__ void __user *compat_alloc_user_space(long len) { struct pt_regs *regs = ¤t->thread.regs;