diff options
| author | 2024-01-19 10:45:24 +0000 | |
|---|---|---|
| committer | 2024-01-27 19:05:19 -0800 | |
| commit | 6e1e48b6ef2613ff4c28a34f7a57c29a4367ad87 (patch) | |
| tree | 3cfab20fa8597445ef23e80d5e66a271e4f5c825 /scripts/Makefile.thinlto | |
| parent | tty: serial: samsung: change return type for s3c24xx_serial_rx_fifocnt() (diff) | |
tty: serial: samsung: shrink the clock selection to 8 clocks
<linux/serial_s3c.h> provides a clock selection pool of maximum 4 clocks.
Update the driver to consider a pool selection of maximum 8 clocks.
u8 is large enough to allow more clocks than are supported by the driver
now, and not too big to cause spanning of ``struct s3c24xx_uart_info``
through 2 cachelines when compiled for arm64. The goal is to reduce the
memory footprint of ``struct s3c24xx_uart_info``.
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240119104526.1221243-18-tudor.ambarus@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
