commit | 5f0f187fd0cc755cfa7d51b50f68a16fca41c813 | [log] [tgz] |
---|---|---|
author | Aleksa Sarai <asarai@suse.de> | Sun Jun 04 00:15:14 2017 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 09 11:27:20 2017 +0200 |
tree | ddab2897629fe8f84dec6f1af51fe00128f33828 | |
parent | bea8be656185a2808a2f255f4a91ff18215a9d0c [diff] |
tty: add compat_ioctl callbacks In order to avoid future diversions between fs/compat_ioctl.c and drivers/tty/pty.c, define .compat_ioctl callbacks for the relevant tty_operations structs. Since both pty_unix98_ioctl() and pty_bsd_ioctl() are compatible between 32-bit and 64-bit userspace no special translation is required. Signed-off-by: Aleksa Sarai <asarai@suse.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>