]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tty/vt: consolemap: rename and document struct uni_pagedir
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Jun 2022 10:49:12 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:36 +0000 (15:57 +0200)
commit4b0b22dfe4d6a7f83c6009b9d532ede3c6ccd0de
treee9efc8cb9d5a589ea2d4cac52c5a14689e297e7e
parent3a88320314abedfbf6899b98347cd934a64057e2
tty/vt: consolemap: rename and document struct uni_pagedir

[ Upstream commit 4173f018aae16b6496d292c234b858241f85254f ]

struct uni_pagedir contains 32 unicode page directories, so the name of
the structure is a bit misleading. Rename the structure to uni_pagedict,
so it looks like this:
struct uni_pagedict
  -> 32 page dirs
     -> 32 rows
       -> 64 glyphs

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 03bcbbb3995b ("dummycon: Trigger redraw when switching consoles with deferred takeover")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/vt/consolemap.c
drivers/video/console/vgacon.c
include/linux/console_struct.h