]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
authorJiri Slaby <jslaby@suse.cz>
Wed, 19 Feb 2020 07:39:44 +0000 (08:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 06:02:31 +0000 (08:02 +0200)
commit270db0384de5867ca046c09418f129f5f78072f5
treed081d33a95883369936308695250373b50ebe02b
parent3f0e2212be7c46a4a43df30c1dc4618e28ad94f9
vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines

commit e587e8f17433ddb26954f0edf5b2f95c42155ae9 upstream.

These two were macros. Switch them to static inlines, so that it's more
understandable what they are doing.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219073951.16151-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt_ioctl.c