kernel-ark/include/asm-arm
David Woodhouse edd5cd4a94 Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM
Not all the world is an i386.  Many architectures need 64-bit arguments to be
aligned in suitable pairs of registers, and the original
sys_sync_file_range(int, loff_t, loff_t, int) was therefore wasting an
argument register for padding after the first integer.  Since we don't
normally have more than 6 arguments for system calls, that left no room for
the final argument on some architectures.

Fix this by introducing sys_sync_file_range2(int, int, loff_t, loff_t) which
all fits nicely.  In fact, ARM already had that, but called it
sys_arm_sync_file_range.  Move it to fs/sync.c and rename it, then implement
the needed compatibility routine.  And stop the missing syscall check from
bitching about the absence of sys_sync_file_range() if we've implemented
sys_sync_file_range2() instead.

Tested on PPC32 and with 32-bit and 64-bit userspace on PPC64.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-28 11:38:30 -07:00
..
arch-aaec2000
arch-at91 [ARM] 4421/1: AT91: Value of _KEY fields. 2007-06-03 17:52:35 +01:00
arch-cl7500 [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-clps711x
arch-davinci [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
arch-ebsa110 [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-ebsa285 [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-ep93xx
arch-h720x
arch-imx include files: convert "include" subdirectory to UTF-8 2007-05-09 08:58:21 +02:00
arch-integrator [ARM] Remove Integrator/CP SMP platform support 2007-05-16 15:35:26 +01:00
arch-iop13xx Merge branch 'fixes' into devel 2007-05-12 16:12:12 +01:00
arch-iop32x [ARM] Fix iop32x/iop33x build 2007-05-11 17:20:06 +01:00
arch-iop33x [ARM] Fix iop32x/iop33x build 2007-05-11 17:20:06 +01:00
arch-ixp4xx [ARM] 4406/1: Trivial NSLU2 / NAS-100D header & setup code cleanup 2007-05-26 10:09:39 +01:00
arch-ixp23xx [ARM] mm 10: allow memory type to be specified with ioremap 2007-05-05 20:59:27 +01:00
arch-ixp2000
arch-ks8695 [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor 2007-05-11 22:02:48 +01:00
arch-l7200
arch-lh7a40x
arch-netx [ARM] 4329/1: fix position of NETX_SYSTEM_REG 2007-05-03 20:22:49 +01:00
arch-ns9xxx
arch-omap ARM: OMAP: 24xx pinmux updates 2007-05-10 15:51:09 -07:00
arch-pnx4008
arch-pxa [ARM] 4422/1: Fix default value handling in gpio_direction_output (PXA) 2007-06-02 21:31:48 +01:00
arch-realview [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-rpc [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-s3c2410 [ARM] 4445/1: ANUBIS: Fix CPLD registers 2007-06-11 09:09:34 +01:00
arch-sa1100 [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
arch-shark
arch-versatile [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
hardware [ARM] Use new get_irqnr_preamble 2007-05-12 15:25:50 +01:00
mach [ARM] use __used attribute 2007-05-30 13:15:06 +01:00
plat-s3c24xx [ARM] 4400/1: S3C24XX: Add high-speed MMC device definition 2007-05-20 20:03:31 +01:00
.gitignore
a.out.h
assembler.h
atomic.h atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency 2007-05-08 11:15:20 -07:00
auxvec.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h [ARM] armv7: add support for asid-tagged VIVT I-cache 2007-05-09 09:50:23 +01:00
checksum.h
cnt32_to_63.h
cpu-multi32.h
cpu-single.h
cpu.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
dma.h
domain.h
dyntick.h
ecard.h [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
elf.h
emergency-restart.h
errno.h
fcntl.h
fiq.h
flat.h
floppy.h
fpstate.h
futex.h
glue.h [ARM] armv7: add support for ARMv7 cores. 2007-05-08 22:55:53 +01:00
gpio.h
hardirq.h
hardware.h
hw_irq.h
ide.h
io.h [ARM] 4388/1: no need for arm/mm mmap range checks for non-mmu 2007-05-20 19:36:14 +01:00
ioctl.h
ioctls.h [ARM] enable arbitary speed tty ioctls and split input/output speed 2007-05-28 23:07:34 +01:00
ipc.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
Kbuild
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kexec.h kdump/kexec: calculate note size at compile time 2007-05-08 11:15:07 -07:00
kmap_types.h
leds.h
limits.h
linkage.h [ARM] VFP: fix section mismatch error 2007-06-10 12:22:20 +01:00
local.h
locks.h
mc146818rtc.h
memory.h
mman.h
mmu_context.h [ARM] ARMv6: add CPU_HAS_ASID configuration 2007-05-17 10:19:23 +01:00
mmu.h [ARM] ARMv6: add CPU_HAS_ASID configuration 2007-05-17 10:19:23 +01:00
mmzone.h
module.h
msgbuf.h
mtd-xip.h
mutex.h
namei.h
nwflash.h
page-nommu.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable-hwdef.h
pgtable-nommu.h Clean up mostly unused IOSPACE macros 2007-05-08 11:15:13 -07:00
pgtable.h Clean up mostly unused IOSPACE macros 2007-05-08 11:15:13 -07:00
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
proc-fns.h [ARM] armv7: add support for ARMv7 cores. 2007-05-08 22:55:53 +01:00
processor.h
procinfo.h
ptrace.h [ARM] Update show_regs/oops register format 2007-06-18 15:04:42 +01:00
resource.h
rtc.h
scatterlist.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h [ARM] use __used attribute 2007-05-30 13:15:06 +01:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sizes.h [ARM] 4372/1: Define byte sizes in asm-arm/sizes.h 2007-05-11 21:07:58 +01:00
smp.h
socket.h
sockios.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system.h Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-09 13:05:57 -07:00
termbits.h [ARM] enable arbitary speed tty ioctls and split input/output speed 2007-05-28 23:07:34 +01:00
termios.h [ARM] enable arbitary speed tty ioctls and split input/output speed 2007-05-28 23:07:34 +01:00
therm.h
thread_info.h [ARM] Move syscall saving out of the way of utrace 2007-05-06 13:56:26 +01:00
thread_notify.h
timex.h
tlb.h
tlbflush.h [ARM] 4394/1: ARMv7: Add the TLB range operations 2007-05-30 14:32:07 +01:00
topology.h
traps.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM 2007-06-28 11:38:30 -07:00
user.h
vfp.h
vfpmacros.h
vga.h
xor.h