]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/vt.h
mm/hotplug: invalid PFNs from pfn_to_online_page()
[mirror_ubuntu-bionic-kernel.git] / include / linux / vt.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _LINUX_VT_H
3#define _LINUX_VT_H
4
607ca46e 5#include <uapi/linux/vt.h>
b293d758 6
5d0bb2c4 7
a376d3d6
AW
8/* Virtual Terminal events. */
9#define VT_ALLOCATE 0x0001 /* Console got allocated */
10#define VT_DEALLOCATE 0x0002 /* Console will be deallocated */
11#define VT_WRITE 0x0003 /* A char got output */
12#define VT_UPDATE 0x0004 /* A bigger update occurred */
13#define VT_PREWRITE 0x0005 /* A char is about to be written to the console */
14
5ada918b
BW
15#ifdef CONFIG_VT_CONSOLE
16
17extern int vt_kmsg_redirect(int new);
18
19#else
20
21static inline int vt_kmsg_redirect(int new)
22{
23 return 0;
24}
25
26#endif
27
1da177e4 28#endif /* _LINUX_VT_H */