diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2023-08-07 03:09:14 +0200 |
---|---|---|
committer | Andreas Larsson <andreas@gaisler.com> | 2024-02-16 16:49:58 +0100 |
commit | 0f1991949d9bd5cf6d4e1c490b7e9ba2d2d56d7f (patch) | |
tree | 6abbb823a053125e42520fd989167425ebf0487d /arch/sparc/kernel/signal_64.c | |
parent | sparc: remove obsolete config ARCH_ATU (diff) | |
download | linux-0f1991949d9bd5cf6d4e1c490b7e9ba2d2d56d7f.tar.xz linux-0f1991949d9bd5cf6d4e1c490b7e9ba2d2d56d7f.zip |
sparc: Use shared font data
sparc has a 'btext' font used for the console which is almost identical
to the shared font_sun8x16, so use it rather than duplicating the data.
They were actually identical until about a decade ago when
commit bcfbeecea11c ("drivers: console: font_: Change a glyph from
"broken bar" to "vertical line"")
which changed the | in the shared font to be a solid
bar rather than a broken bar. That's the only difference.
This was originally spotted by PMD which noticed that PPC does
the same thing with the same data, and they also share a bunch
of functions to manipulate the data.
Tested very lightly with a boot without FS in qemu.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20230807010914.799713-1-linux@treblig.org
Diffstat (limited to 'arch/sparc/kernel/signal_64.c')
0 files changed, 0 insertions, 0 deletions