f6dfb4fd7d
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> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
binfmt_elfn32.c | ||
binfmt_elfo32.c | ||
branch.c | ||
cpu-bugs64.c | ||
cpu-probe.c | ||
early_printk.c | ||
entry.S | ||
gdb-low.S | ||
gdb-stub.c | ||
genex.S | ||
head.S | ||
i8253.c | ||
i8259.c | ||
init_task.c | ||
irix5sys.S | ||
irixelf.c | ||
irixinv.c | ||
irixioctl.c | ||
irixsig.c | ||
irq_cpu.c | ||
irq-msc01.c | ||
irq-mv6434x.c | ||
irq-rm7000.c | ||
irq-rm9000.c | ||
irq.c | ||
kspd.c | ||
linux32.c | ||
machine_kexec.c | ||
Makefile | ||
mips_ksyms.c | ||
mips-mt.c | ||
module.c | ||
proc.c | ||
process.c | ||
ptrace32.c | ||
ptrace.c | ||
r4k_fpu.S | ||
r4k_switch.S | ||
r2300_fpu.S | ||
r2300_switch.S | ||
r6000_fpu.S | ||
relocate_kernel.S | ||
reset.c | ||
rtlx.c | ||
scall32-o32.S | ||
scall64-64.S | ||
scall64-n32.S | ||
scall64-o32.S | ||
semaphore.c | ||
setup.c | ||
signal32.c | ||
signal_n32.c | ||
signal-common.h | ||
signal.c | ||
smp-mt.c | ||
smp.c | ||
smtc-asm.S | ||
smtc-proc.c | ||
smtc.c | ||
stacktrace.c | ||
syscall.c | ||
sysirix.c | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
vmlinux.lds.S | ||
vpe.c |