parisc/sti: Fix STI crash with fonts with 64-bit Linux kernel

Just swapping font "next-font" pointers breaks the sti driver on older 64-bit Linux
kernels which take the "next_font" pointer as unsigned int (instead of
signed int) and thus calculates a wrong font start address.  Avoid the
crash by sorting the fonts in the STI ROM before the OS starts.
A Linux kernel patch to avoid the crash was added in kernel 6.7.

Signed-off-by: Helge Deller <deller@gmx.de>
1 file changed