Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kernel] Fix /bootopts root=df0 failing #2002

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions elks/arch/i86/kernel/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ unsigned int INITPROC setup_arch(void)
}
#endif

/* Misc */
ROOT_DEV = SETUP_ROOT_DEV;

#ifdef SYS_CAPS
sys_caps = SYS_CAPS; /* custom system capabilities */
#else
Expand Down
1 change: 1 addition & 0 deletions elks/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ static void INITPROC early_kernel_init(void)
#ifdef CONFIG_TIME_TZ
tz_init(CONFIG_TIME_TZ); /* parse_options may call tz_init */
#endif
ROOT_DEV = SETUP_ROOT_DEV; /* default root device from boot loader */
#ifdef CONFIG_BOOTOPTS
opts = parse_options(); /* parse options found in /bootops */
#endif
Expand Down
Loading