diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-08 14:51:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-15 10:22:17 +0200 |
commit | 98602c010ceba82f2c2384122dbd07bc965fd367 (patch) | |
tree | 8a5498bc9d017697319fd1abf7d79fd5373a5375 /drivers/tty/tty_jobctrl.c | |
parent | 0a360e8b65d62fe1a994f0a8da4f8d20877b2100 (diff) | |
download | linux-stable-98602c010ceba82f2c2384122dbd07bc965fd367.tar.gz linux-stable-98602c010ceba82f2c2384122dbd07bc965fd367.tar.bz2 linux-stable-98602c010ceba82f2c2384122dbd07bc965fd367.zip |
tty: create internal tty.h file
There are a number of functions and #defines in include/linux/tty.h that
do not belong there as they are private to the tty core code.
Create an initial drivers/tty/tty.h file and copy the odd "tty logging"
macros into it to seed the file with some initial things that we know
nothing outside of the tty core should be calling.
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20210408125134.3016837-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_jobctrl.c')
-rw-r--r-- | drivers/tty/tty_jobctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_jobctrl.c b/drivers/tty/tty_jobctrl.c index 72df97b27227..7813dc910a19 100644 --- a/drivers/tty/tty_jobctrl.c +++ b/drivers/tty/tty_jobctrl.c @@ -11,6 +11,7 @@ #include <linux/tty.h> #include <linux/fcntl.h> #include <linux/uaccess.h> +#include "tty.h" static int is_ignored(int sig) { |