linux/arch
John Ogness de61a1a3a0 tty: nfcon: use console_is_registered()
Currently CON_ENABLED is being (mis)used to identify if the console
has been registered. This is not reliable because it can be set even
though registration failed or it can be unset, even though the console
is registered. Use console_is_registered() instead.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20221116162152.193147-24-john.ogness@linutronix.de
2022-12-02 11:25:01 +01:00
..
alpha asm-generic: arch/alpha regression fix for 6.1 2022-10-14 13:47:42 -07:00
arc - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
arm Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
arm64 arch/arm64: Add ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option 2022-10-20 15:02:27 -07:00
csky - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
hexagon - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
ia64 - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
loongarch arch/loongarch: Add ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option 2022-10-21 10:14:52 -07:00
m68k tty: nfcon: use console_is_registered() 2022-12-02 11:25:01 +01:00
microblaze - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
mips Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
nios2 - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
openrisc OpenRISC 6.1 Updates 2022-10-15 16:47:33 -07:00
parisc Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
powerpc Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
riscv RISC-V Patches for the 6.1 Merge Window, Part 2 2022-10-14 11:21:11 -07:00
s390 arch/s390: Add ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option 2022-10-21 10:15:40 -07:00
sh - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
sparc Random number generator fixes for Linux 6.1-rc1. 2022-10-16 15:27:07 -07:00
um um: kmsg_dumper: use srcu console list iterator 2022-12-02 11:25:00 +01:00
x86 arch/x86: Add ARCH_HAS_NMI_SAFE_THIS_CPU_OPS Kconfig option 2022-10-20 15:02:27 -07:00
xtensa - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
.gitignore
Kconfig srcu: Create an srcu_read_lock_nmisafe() and srcu_read_unlock_nmisafe() 2022-10-20 14:39:18 -07:00