mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
vt: add ucs_get_fallback()
This is the code querying the newly introduced tables. Signed-off-by: Nicolas Pitre <npitre@baylibre.com> Link: https://lore.kernel.org/r/20250507141535.40655-7-nico@fluxnic.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
de45d93f00
commit
fe26933cf1
@@ -31,6 +31,7 @@ void console_map_init(void);
|
||||
bool ucs_is_double_width(uint32_t cp);
|
||||
bool ucs_is_zero_width(uint32_t cp);
|
||||
u32 ucs_recompose(u32 base, u32 mark);
|
||||
u32 ucs_get_fallback(u32 cp);
|
||||
#else
|
||||
static inline u16 inverse_translate(const struct vc_data *conp, u16 glyph,
|
||||
bool use_unicode)
|
||||
@@ -75,6 +76,11 @@ static inline u32 ucs_recompose(u32 base, u32 mark)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline u32 ucs_get_fallback(u32 cp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_CONSOLE_TRANSLATIONS */
|
||||
|
||||
#endif /* __LINUX_CONSOLEMAP_H__ */
|
||||
|
||||
Reference in New Issue
Block a user