Christoph Hellwig f7a5000f7a compat: move cp_compat_stat to common code
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@lst.de>
Acked-by: David S. Miller <davem@davemloft.net> [ sparc bits ]
Acked-by: Kyle McMartin <kyle@mcmartin.ca> [ parisc bits ]
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:33 -07:00
..
2008-10-13 10:10:37 -07:00
2008-09-13 14:41:51 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-09-05 09:51:30 -05:00
2008-09-02 23:15:22 +01:00
2008-04-29 08:06:00 -07:00
2008-07-25 10:53:34 -07:00
2007-10-18 14:37:31 -07:00
2008-09-02 19:21:37 -07:00
2008-10-14 18:31:46 -07:00
2008-10-02 15:53:13 -07:00
2008-07-26 12:00:07 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-10-09 08:57:05 +02:00
2008-01-30 13:31:46 +01:00
2008-05-01 13:08:16 -04:00
2008-10-13 09:51:41 -07:00
2008-10-16 11:21:32 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-02-06 10:41:07 -08:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00