mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
[PATCH] tty: export get_current_tty
24ec839c43
causes this:
WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined!
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
24d34dc564
commit
a311f74329
@ -3821,6 +3821,7 @@ struct tty_struct *get_current_tty(void)
|
||||
barrier();
|
||||
return tty;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(get_current_tty);
|
||||
|
||||
/*
|
||||
* Initialize the console device. This is called *early*, so
|
||||
|
Loading…
Reference in New Issue
Block a user