init: unify opening /dev/console as stdin/stdout/stderr
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 23 Oct 2018 14:00:10 +0000 (16:00 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 12 Dec 2019 17:58:24 +0000 (18:58 +0100)
commitb49a733d684e0096340b93e9dfd471f0e3ddc06d
tree0ad59f513c9ca4af672a9e683935ce6c27a6289b
parentcccaa5e33525fc07f4a2ce0518e50b9ddf435e47
init: unify opening /dev/console as stdin/stdout/stderr

Merge the two instances where /dev/console is opened as
stdin/stdout/stderr.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
include/linux/initrd.h
init/do_mounts_initrd.c
init/main.c