aha/arch
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
..
alpha alpha: notify_cpu_starting() compile fixlet 2008-10-16 11:21:29 -07:00
arm cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
avr32 cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
blackfin cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
cris cpufreq: remove policy->governor setting in drivers initialization 2008-10-15 16:42:47 -07:00
frv FRV: Wire up new system calls 2008-08-01 13:03:49 -07:00
h8300 asm-h8300/md.h: remove CVS keyword 2008-10-16 11:21:29 -07:00
ia64 compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
m32r misc: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
m68k arch/m68k/mm/kmap.c: introduce missing kfree 2008-10-14 10:23:27 -07:00
m68knommu Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
mips compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
mn10300 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-13 17:13:56 +01:00
parisc compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
powerpc compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
s390 compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
sh kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-10-13 10:07:53 -07:00
sparc64 compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
um uml: remove the dead TTY_LOG code 2008-10-16 11:21:30 -07:00
x86 compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
xtensa xtensa: remove dead CONFIG_BLK_DEV_IDE code 2008-10-13 21:39:34 +02:00
.gitignore
Kconfig Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00