From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 15 Oct 2008 22:02:05 -0700 > From: Christoph Hellwig <hch@xxxxxx> > > struct stat / compat_stat is the same on all architectures, so > cp_compat_stat should be, too. > > Turns out it is, except that various architectures have slightly and some > high2lowuid/high2lowgid or the direct assignment instead of the > SET_UID/SET_GID that expands to the correct one anyway. > > This patch replaces the arch-specific cp_compat_stat implementations with > a common one based on the x86-64 one. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Cc: <linux-arch@xxxxxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Sparc bits: Acked-by: David S. Miller <davem@xxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html