diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-10-23 16:00:10 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2019-12-12 18:58:24 +0100 |
commit | b49a733d684e0096340b93e9dfd471f0e3ddc06d (patch) | |
tree | 0ad59f513c9ca4af672a9e683935ce6c27a6289b /include | |
parent | init: use do_mount() instead of ksys_mount() (diff) | |
download | linux-b49a733d684e0096340b93e9dfd471f0e3ddc06d.tar.xz linux-b49a733d684e0096340b93e9dfd471f0e3ddc06d.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/initrd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/initrd.h b/include/linux/initrd.h index d77fe34fb00a..aa5914355728 100644 --- a/include/linux/initrd.h +++ b/include/linux/initrd.h @@ -28,3 +28,5 @@ extern unsigned int real_root_dev; extern char __initramfs_start[]; extern unsigned long __initramfs_size; + +void console_on_rootfs(void); |