Skip to content

Commit 0f66f55

Browse files
authored
Merge pull request #1401 from ricarkol/solo5_should_not_set_boot_at
solo5: should not set booted_at to the new reboot time after a solo5_exec
2 parents 1fe752e + 62fc03a commit 0f66f55

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/platform/x86_solo5/os.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,8 @@ void OS::start(char* _cmdline, uintptr_t mem_size)
144144
extern void __platform_init();
145145
__platform_init();
146146

147-
booted_at_ = solo5_clock_monotonic();
148147
MYINFO("Booted at monotonic_ns=%lld walltime_ns=%lld",
149-
booted_at_, solo5_clock_wall());
148+
solo5_clock_monotonic(), solo5_clock_wall());
150149

151150
MYINFO("Initializing RNG");
152151
PROFILE("RNG init");

0 commit comments

Comments
 (0)