On Thu, Oct 03, 2013 at 06:47:43AM +0100, AKASHI Takahiro wrote:
# added Roland mcgrathr@chromium in CC for asm-generic/syscall.h
I modified my patch based on Will's comments. Speaking of arm, i + n is checked against SYSCALL_MAX_ARGS (== 7), but it seems that the kernel code assumes that the current max number of arguments would be 6. For example, SYSCALL_DEFINEn are defined from 0 to 6. Am i wrong?
We do have a 7 argument syscall on OABI ARM. See the original thread:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-February/085509.h...
Will