linux-stable/arch/mips/kernel
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
..
.gitignore [MIPS] Ignore vmlinux.lds generated files 2008-08-26 09:10:27 +01:00
8250-platform.c
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
branch.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c [MIPS] SMTC: Fix SMTC dyntick support. 2008-10-03 17:58:58 +01:00
cevt-sb1250.c
cevt-smtc.c [MIPS] SMTC: Fix SMTC dyntick support. 2008-10-03 17:58:58 +01:00
cevt-txx9.c
cpu-bugs64.c
cpu-probe.c MIPS: Probe watch registers and report configuration. 2008-10-11 16:18:56 +01:00
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c
csrc-sb1250.c
early_printk.c [MIPS] fix sparse warning about setup_early_printk() 2008-07-15 18:44:29 +01:00
entry.S [MIPS] SMTC: Close tiny holes in the SMTC IPI replay system. 2008-10-03 17:58:58 +01:00
genex.S MIPS: Watch exception handling for HARDWARE_WATCHPOINTS. 2008-10-11 16:18:56 +01:00
gpio_txx9.c [MIPS] txx9: Make gpio_txx9 entirely spinlock-safe 2008-07-15 18:44:34 +01:00
head.S [MIPS] IP27: Fix build errors if CONFIG_MAPPED_KERNEL=y 2008-10-06 01:22:29 +01:00
i8253.c [MIPS] i8253: make the pit_clockevent variable static 2008-07-15 18:44:31 +01:00
i8259.c
init_task.c
irq-gic.c
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c
irq-rm9000.c
irq.c [MIPS] kgdb: add arch support for the kernel's kgdb core 2008-07-30 21:54:42 +01:00
irq_cpu.c
irq_txx9.c
kgdb.c kgdb, x86, arm, mips, powerpc: ignore user space single stepping 2008-09-26 10:36:41 -05:00
kspd.c
linux32.c compat: move cp_compat_stat to common code 2008-10-16 11:21:33 -07:00
machine_kexec.c
Makefile MIPS: Add HARDWARE_WATCHPOINTS definitions and support code. 2008-10-11 16:18:56 +01:00
mips-mt-fpaff.c [MIPS] SMTC: Fix holes in SMTC and FPU affinity support. 2008-10-03 17:58:58 +01:00
mips-mt.c [MIPS] Replace use of print_symbol with new %sP pointer format. 2008-07-15 18:44:33 +01:00
mips_ksyms.c
module.c PAGE_ALIGN(): correctly handle 64-bit values on 32-bit architectures 2008-07-24 10:47:21 -07:00
proc.c MIPS: show_cpuinfo prints the type of the calling CPU 2008-10-15 12:46:50 +01:00
process.c 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
ptrace.c MIPS: Ptrace support for HARDWARE_WATCHPOINTS 2008-10-11 16:18:57 +01:00
ptrace32.c MIPS: Move ptrace prototypes to ptrace.h 2008-10-11 16:18:57 +01:00
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c device create: mips: convert device_create to device_create_drvdata 2008-07-21 21:54:43 -07:00
scall32-o32.S [MIPS] Wire up new syscalls. 2008-08-26 09:10:20 +01:00
scall64-64.S [MIPS] Wire up new syscalls. 2008-08-26 09:10:20 +01:00
scall64-n32.S MIPS: Use compat_sys_ptrace 2008-10-11 16:18:41 +01:00
scall64-o32.S MIPS: Use compat_sys_ptrace 2008-10-11 16:18:41 +01:00
setup.c [MIPS] Probe initrd header only if explicitly specified 2008-09-05 21:24:12 +01:00
signal-common.h
signal.c
signal32.c MIPS: Use compat_sys_ptrace 2008-10-11 16:18:41 +01:00
signal_n32.c
smp-cmp.c
smp-mt.c
smp-up.c
smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
smtc-asm.S
smtc-proc.c
smtc.c [MIPS] SMTC: Fix SMTC dyntick support. 2008-10-03 17:58:58 +01:00
spram.c
stacktrace.c arch/mips/kernel/stacktrace.c: Heiko can't type 2008-07-23 11:21:45 +02:00
sync-r4k.c
syscall.c Remove asm/a.out.h files for all architectures without a.out support. 2008-09-06 19:30:24 +01:00
time.c
topology.c
traps.c MIPS: Watch exception handling for HARDWARE_WATCHPOINTS. 2008-10-11 16:18:56 +01:00
unaligned.c
vmlinux.lds.S MIPS: Align .data.cacheline_aligned based on CONFIG_MIPS_L1_CACHE_SHIFT 2008-10-15 12:46:50 +01:00
vpe.c
watch.c MIPS: Add HARDWARE_WATCHPOINTS definitions and support code. 2008-10-11 16:18:56 +01:00