[PATCH v2 00/24] Consolidate dummy_con initialization
From: Arvind Sankar
Date: Wed Dec 18 2019 - 16:45:10 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 first two 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.
Changes from v1:
- Fix subject lines
Arvind Sankar (24):
console/dummycon: Remove bogus depends on from DUMMY_CONSOLE
vt: Initialize conswitchp to dummy_con if unset
arch/alpha/setup: Drop dummy_con initialization
arch/arc/setup: Drop dummy_con initialization
arch/arm/setup: Drop dummy_con initialization
arch/arm64/setup: Drop dummy_con initialization
arch/c6x/setup: Drop dummy_con initialization
arch/csky/setup: Drop dummy_con initialization
arch/ia64/setup: Drop dummy_con initialization
arch/m68k/setup: Drop dummy_con initialization
arch/microblaze/setup: Drop dummy_con initialization
arch/mips/setup: Drop dummy_con initialization
arch/nds32/setup: Drop dummy_con initialization
arch/nios2/setup: Drop dummy_con initialization
arch/openrisc/setup: Drop dummy_con initialization
arch/parisc/setup: Drop dummy_con initialization
arch/powerpc/setup: Drop dummy_con initialization
arch/riscv/setup: Drop dummy_con initialization
arch/s390/setup: Drop dummy_con initialization
arch/sh/setup: Drop dummy_con initialization
arch/sparc/setup: Drop dummy_con initialization
arch/unicore32/setup: Drop dummy_con initialization
arch/x86/setup: Drop dummy_con initialization
arch/xtensa/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