[PATCH 00/24] Consolidate dummy_con initialization
From: Arvind Sankar
Date: Wed Dec 18 2019 - 15:40:06 EST
This series moves initialization of conswitchp to dummy_con into vt.c,
and configures DUMMY_CONSOLE unconditionally when CONFIG_VT is enabled.
The patches after the second one remove conswitchp = &dummy_con; from
the various architecture setup functions where it currently appears. If
the first two look ok, I was thinking of sending the others
individually.
Arvind Sankar (24):
console/dummycon: Remove bogus depends on from DUMMY_CONSOLE
vt: Initialize conswitchp to dummy_con if unset
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/setup: Drop dummy_con initialization
arch/alpha/kernel/setup.c | 2 --
arch/arc/kernel/setup.c | 4 ----
arch/arm/kernel/setup.c | 2 --
arch/arm64/kernel/setup.c | 3 ---
arch/c6x/kernel/setup.c | 4 ----
arch/csky/kernel/setup.c | 4 ----
arch/ia64/kernel/setup.c | 3 ---
arch/m68k/kernel/setup_mm.c | 4 ----
arch/m68k/kernel/setup_no.c | 4 ----
arch/m68k/sun3x/config.c | 1 -
arch/microblaze/kernel/setup.c | 4 ----
arch/mips/kernel/setup.c | 2 --
arch/nds32/kernel/setup.c | 5 -----
arch/nios2/kernel/setup.c | 4 ----
arch/openrisc/kernel/setup.c | 5 -----
arch/parisc/kernel/setup.c | 4 ----
arch/powerpc/kernel/setup-common.c | 3 ---
arch/powerpc/platforms/cell/setup.c | 3 ---
arch/powerpc/platforms/maple/setup.c | 3 ---
arch/powerpc/platforms/pasemi/setup.c | 4 ----
arch/powerpc/platforms/ps3/setup.c | 4 ----
arch/riscv/kernel/setup.c | 4 ----
arch/s390/kernel/setup.c | 2 --
arch/sh/kernel/setup.c | 4 ----
arch/sparc/kernel/setup_32.c | 4 ----
arch/sparc/kernel/setup_64.c | 4 ----
arch/unicore32/kernel/setup.c | 2 --
arch/x86/kernel/setup.c | 2 --
arch/xtensa/kernel/setup.c | 2 --
drivers/tty/vt/vt.c | 5 +++--
drivers/video/console/Kconfig | 1 -
31 files changed, 3 insertions(+), 99 deletions(-)
--
2.24.1