Commit 9a7a076e authored by Dmitry V. Levin's avatar Dmitry V. Levin Committed by Thomas Gleixner

x86: Use compat version for preadv2 and pwritev2

Similar to preadv and pwritev, preadv2 and pwritev2 need compat entries
in the 32-bit syscall table.

This bug was found by strace test suite.

Fixes: 4babf2c5 ("x86: wire up preadv2 and pwritev2")
Signed-off-by: default avatarDmitry V. Levin <ldv@altlinux.org>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20160511084817.GA29823@altlinux.orgSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 685764b1
...@@ -384,5 +384,5 @@ ...@@ -384,5 +384,5 @@
375 i386 membarrier sys_membarrier 375 i386 membarrier sys_membarrier
376 i386 mlock2 sys_mlock2 376 i386 mlock2 sys_mlock2
377 i386 copy_file_range sys_copy_file_range 377 i386 copy_file_range sys_copy_file_range
378 i386 preadv2 sys_preadv2 378 i386 preadv2 sys_preadv2 compat_sys_preadv2
379 i386 pwritev2 sys_pwritev2 379 i386 pwritev2 sys_pwritev2 compat_sys_pwritev2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment