summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2018-10-23 16:00:10 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2019-12-12 18:58:24 +0100
commitb49a733d684e0096340b93e9dfd471f0e3ddc06d (patch)
tree0ad59f513c9ca4af672a9e683935ce6c27a6289b /include
parentcccaa5e33525fc07f4a2ce0518e50b9ddf435e47 (diff)
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.h2
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);