summaryrefslogtreecommitdiff
path: root/include/linux/vt.h
blob: 9820ae4f99ab7def4821e9ccab4dd0a2bc03f065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_VT_H
#define _LINUX_VT_H

#include <uapi/linux/vt.h>


/* Virtual Terminal events. */
#define VT_ALLOCATE		0x0001 /* Console got allocated */
#define VT_DEALLOCATE		0x0002 /* Console will be deallocated */
#define VT_WRITE		0x0003 /* A char got output */
#define VT_UPDATE		0x0004 /* A bigger update occurred */
#define VT_PREWRITE		0x0005 /* A char is about to be written to the console */

#ifdef CONFIG_VT_CONSOLE

extern int vt_kmsg_redirect(int new);

#else

static inline int vt_kmsg_redirect(int new)
{
	return 0;
}

#endif

#endif /* _LINUX_VT_H */
2010-04-27 12:49:13 -0700'>2010-04-27Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller 2010-04-21KS8851: NULL pointer dereference if list is emptyAbraham Arce 2010-04-03net: convert multicast list to list_headJiri Pirko 2010-03-20Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller 2010-03-18KS8851: Avoid NULL pointer in set rx modeAbraham Arce 2010-03-16drivers/net/ks*: Use netdev_<level>, netif_<level> and pr_<level>Joe Perches 2010-03-08Merge branch 'for-next' into for-linusJiri Kosina 2010-02-26net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2Jiri Pirko 2010-02-12net: use netdev_mc_count and netdev_mc_empty when appropriateJiri Pirko 2010-02-05tree-wide: fix typos "ammount" -> "amount"Uwe Kleine-König 2009-12-03net: Fix ks8851 snl NULL pointer dereference OopsTristram Ha 2009-10-20KS8851: Fix ks8851_set_rx_mode() for IFF_MULTICASTBen Dooks 2009-10-20KS8851: Fix MAC address write orderBen Dooks 2009-10-20KS8851: Add soft reset at probe timeBen Dooks