s390/con3270: reduce highlight width to 3 bits
authorSven Schnelle <svens@linux.ibm.com>
Tue, 29 Nov 2022 10:19:09 +0000 (11:19 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:02 +0000 (14:34 +0100)
commit0573fff2054ea25c463339f38fa6979e85668215
tree213152ea9c7a55a3cbcef63cad354002c02fee21
parent18fc2e93b602d8def2b8d10492238aa40180d292
s390/con3270: reduce highlight width to 3 bits

With the previous change this reduces the size of struct tty3270_attribute
from four to two bytes. As we have this struct allocated for each character
cell, this saves quite some memory.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c