linux/arch/mips/kernel
Davide Libenzi f6dfb4fd7d [PATCH] Add epoll compat_ code to fs/compat.c
IA64 and ARM-OABI are currently using their own version of epoll compat_
code.

An architecture needs epoll_event translation if alignof(u64) in 32 bit
mode is different from alignof(u64) in 64 bit mode.  If an architecture
needs epoll_event translation, it must define struct compat_epoll_event in
asm/compat.h and set CONFIG_HAVE_COMPAT_EPOLL_EVENT and use
compat_sys_epoll_ctl and compat_sys_epoll_wait.

All 64 bit architecture should use compat_sys_epoll_pwait.

[sfr: restructure and move to fs/compat.c, remove MIPS version
of compat_sys_epoll_pwait, use __put_user_unaligned]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-08 07:38:22 -08:00
..
asm-offsets.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
binfmt_elfn32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
binfmt_elfo32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
branch.c [MIPS] Unify mips_fpu_soft_struct and mips_fpu_hard_structs. 2006-06-19 17:39:18 +01:00
cpu-bugs64.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpu-probe.c [MIPS] Make some __setup functions static 2007-02-20 01:26:41 +00:00
early_printk.c [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
entry.S [MIPS] Make entry.S a little more readable. 2007-02-13 22:40:51 +00:00
gdb-low.S [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
gdb-stub.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
genex.S [MIPS] Fast path for rdhwr emulation for TLS 2006-11-30 01:14:44 +00:00
head.S [MIPS] Move some kernel globals from asm file to C file. 2007-02-06 16:53:16 +00:00
i8253.c Input: pcspkr - separate device and driver registration 2006-03-14 00:11:50 -05:00
i8259.c [MIPS] Drop __init from init_8259A() 2007-02-20 17:11:55 +00:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
irix5sys.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irixelf.c [MIPS] IRIX: Linux coding style cleanups. 2007-02-06 16:53:20 +00:00
irixinv.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irixioctl.c Reformatting, remove debugging code. 2005-10-29 19:30:57 +01:00
irixsig.c [MIPS] Move definition of IRIX compat constant into IRIX compat code. 2006-09-27 13:37:45 +01:00
irq_cpu.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-msc01.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-mv6434x.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
irq-rm7000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq-rm9000.c [MIPS] use name instead of typename for each irq_chip 2007-02-06 16:53:14 +00:00
irq.c [MIPS] genirq: use name instead of typename 2006-12-06 20:16:08 +00:00
kspd.c [PATCH] fdtable: Make fdarray and fdsets equal in size 2006-12-10 09:57:22 -08:00
linux32.c [PATCH] Add epoll compat_ code to fs/compat.c 2007-03-08 07:38:22 -08:00
machine_kexec.c Storage class should be before const qualifier 2007-02-17 20:11:19 +01:00
Makefile [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
mips_ksyms.c [MIPS] Export __copy_user_inatomic. 2007-03-07 00:07:17 +00:00
mips-mt.c [MIPS] VPE: Sprinkle device model code into code to make udev happier. 2007-02-10 22:38:42 +00:00
module.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
proc.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
process.c [MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug. 2007-02-26 23:06:06 +00:00
ptrace32.c [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
ptrace.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
r4k_fpu.S [MIPS] Move .set reorder out of conditional code 2007-02-06 16:53:23 +00:00
r4k_switch.S [MIPS] 16K & 64K page size fixes 2006-11-01 17:46:09 +00:00
r2300_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r2300_switch.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
r6000_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
relocate_kernel.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
reset.c [MIPS] Export pm_power_off 2006-12-10 21:52:11 +00:00
rtlx.c [MIPS] RTLX: Delete multiple definition of ret shaddowing each other. 2007-02-26 23:06:06 +00:00
scall32-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-64.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-n32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
scall64-o32.S [MIPS] Wire up ioprio_set and ioprio_get. 2007-03-07 00:07:18 +00:00
semaphore.c Always use ".set mips3" rather than select between "mips2" or "mips3" 2005-10-29 19:31:31 +01:00
setup.c [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. 2007-03-04 19:02:37 +00:00
signal32.c [MIPS] sigset_32 has been made redundand by compat_sigset_t. 2007-02-20 17:11:55 +00:00
signal_n32.c [MIPS] signals: Share even more code. 2007-02-18 21:31:35 +00:00
signal-common.h [MIPS] signals: make common _BLOCKABLE macro 2007-02-13 22:40:51 +00:00
signal.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
smp-mt.c [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
smp.c [MIPS] SMP: Get smp_tune_scheduling to do something useful. 2007-02-22 00:50:45 +00:00
smtc-asm.S [MIPS] SMTC: Fix crash if # of TC's > # of VPE's after pt_regs irq cleanup. 2006-11-01 17:46:09 +00:00
smtc-proc.c [MIPS] MT: Improved multithreading support. 2006-04-19 04:14:28 +02:00
smtc.c [MIPS] Make SMTC_IDLE_HOOK_DEBUG a proper option in Kconfig.debug. 2007-02-26 23:06:06 +00:00
stacktrace.c [MIPS] save_context_stack fix 2006-10-19 17:55:13 +01:00
syscall.c [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
sysirix.c [MIPS] Whitespace cleanups. 2007-02-06 16:53:19 +00:00
time.c [PATCH] clocksource: fixup is_continous changes on MIPS 2007-02-16 08:13:57 -08:00
topology.c [MIPS] Do topology_init even on uniprocessor kernels. 2006-11-29 16:21:34 +00:00
traps.c [MIPS] Add basic SMARTMIPS ASE support 2007-02-22 00:50:44 +00:00
unaligned.c [MIPS] Always fixup unaligned accesses in kernel mode. 2007-02-26 23:06:06 +00:00
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
vpe.c [MIPS] RTLX, VPE: Make open actually atomic. 2007-02-26 23:06:06 +00:00