linux/kernel/debug/kdb
John Ogness 5f6c7648e5 printk: kmsg_dumper: remove @active field
All 6 kmsg_dumpers do not benefit from the @active flag:

  (provide their own synchronization)
  - arch/powerpc/kernel/nvram_64.c
  - arch/um/kernel/kmsg_dump.c
  - drivers/mtd/mtdoops.c
  - fs/pstore/platform.c

  (only dump on KMSG_DUMP_PANIC, which does not require
  synchronization)
  - arch/powerpc/platforms/powernv/opal-kmsg.c
  - drivers/hv/vmbus_drv.c

The other 2 kmsg_dump users also do not rely on @active:

  (hard-code @active to always be true)
  - arch/powerpc/xmon/xmon.c
  - kernel/debug/kdb/kdb_main.c

Therefore, @active can be removed.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210303101528.29901-12-john.ogness@linutronix.de
2021-03-08 11:43:23 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kdb_bp.c kgdb: Honour the kprobe blocklist when setting breakpoints 2020-09-28 12:14:08 +01:00
kdb_bt.c kdb: Use newer api for tasklist scanning 2020-09-08 14:36:46 +01:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kernel: debug: Centralize dbg_[de]activate_sw_breakpoints 2020-10-01 14:23:45 +01:00
kdb_io.c kdb: Fix pager search for multi-line strings 2020-10-01 14:44:08 +01:00
kdb_keyboard.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
kdb_main.c printk: kmsg_dumper: remove @active field 2021-03-08 11:43:23 +01:00
kdb_private.h kdb: Use newer api for tasklist scanning 2020-09-08 14:36:46 +01:00
kdb_support.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Makefile kdb: Get rid of broken attempt to print CCVERSION in kdb summary 2019-05-12 09:50:43 +01:00