]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc: increase NR_syscalls properly
authorNick Alcock <nick.alcock@oracle.com>
Wed, 16 Dec 2015 21:54:12 +0000 (21:54 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 13 Jan 2016 14:36:52 +0000 (14:36 +0000)
commit4c7403d89578d3770e446f57063ca9c749b6f9e8
treed6a399a3ccd931e0b7feb4d81c27bfab3e53dfa4
parent31c972eebd81f731e91e687fd7038ffdb1423336
sparc: increase NR_syscalls properly

When waitfd() was added, NR_syscalls was never incremented, so
the syscall always unconditionally returned -ENOSYS on SPARC.
Wire it up by incrementing NR_syscalls correctly.

(The syscall has been tested, but, it turns out, only on x86 and
on SPARC in the 4.0 kernel.  Testing on SPARC with its single
user, DTrace, suggests that all is still well here.)

Orabug: 22390316
Reviewed-by: Todd Vierling <todd.vierling@oracle.com>
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
arch/sparc/include/uapi/asm/unistd.h