]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
um: Don't use console_drivers directly
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 12 Feb 2020 10:02:59 +0000 (12:02 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 29 Mar 2020 21:17:10 +0000 (23:17 +0200)
commit7d7c0568285d6f5630fb269766186afe09e58dc7
tree2f249de2c5911253c18e73cb7276c69b3c86d36f
parentb495dfed706c4c5873c0dab8930ad6eb1d276a6c
um: Don't use console_drivers directly

console_drivers is kind of (semi-)private variable to the console code.
Direct use of it make us stuck with it being exported here and there.
Reduce use of console_drivers by replacing it with for_each_console().

Cc: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/kmsg_dump.c