OpenCloudOS-Kernel/drivers/video/console
Jiri Slaby b84ae3dc70 vt: introduce enum vc_intensity for intensity
Introduce names (en enum) for 0, 1, and 2 constants. We now have
VCI_HALF_BRIGHT, VCI_NORMAL, and VCI_BOLD instead.

Apart from the cleanup,
1) the enum allows for better type checking, and
2) this saves some code. No more fiddling with bits is needed in
   assembly now. (OTOH, the structure is larger.)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-24 17:08:31 +02:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dummycon.c dummycon: Sprinkle locking checks 2019-06-12 20:26:55 +02:00
mdacon.c vt: introduce enum vc_intensity for intensity 2020-06-24 17:08:31 +02:00
newport_con.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
sticon.c vt: introduce enum vc_intensity for intensity 2020-06-24 17:08:31 +02:00
sticore.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
vgacon.c vt: introduce enum vc_intensity for intensity 2020-06-24 17:08:31 +02:00