Commit 1fe32ddd authored by Jan Kiszka's avatar Jan Kiszka
Browse files

lib/cobalt: Reorder low_init for having cobalt_use_legacy_tsc earlier available



This is needed as cobalt_arch_check_features() will make use of
__cobalt_tsc_clockfreq via cobalt_use_legacy_tsc().
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 0b2563bb
......@@ -177,11 +177,11 @@ static void low_init(void)
early_panic("mlockall: %s", strerror(errno));
trace_me("memory locked");
cobalt_ticks_init(f->clock_freq);
cobalt_features_init(f);
cobalt_init_umm(f->vdso_offset);
trace_me("memory heaps mapped");
cobalt_init_current_keys();
cobalt_ticks_init(f->clock_freq);
}
static int cobalt_init_2(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment