mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 14:58:21 +00:00
build: fix UM build
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ fn map_kernel(boot_info: *pl.BootInfo) void {
|
||||
|
||||
pub fn init(boot_info: *pl.BootInfo) linksection(r.init) void {
|
||||
mi.phys.init(boot_info);
|
||||
if (!@hasDecl(config, "CONFIG_ARCH_UM")) {
|
||||
if (config.arch != .um) {
|
||||
map_kernel(boot_info);
|
||||
}
|
||||
mi.kernel_pmap.activate();
|
||||
|
||||
Reference in New Issue
Block a user