early placement heap doesn't need alignment

This commit is contained in:
Kevin Lange 2014-03-15 00:43:12 -07:00
parent dafc4f93b6
commit c1a77bc3c5

View File

@ -91,9 +91,6 @@ int kmain(struct multiboot *mboot, uint32_t mboot_mag, uintptr_t esp) {
last_mod = module_end;
}
}
while (last_mod % 0x1000) {
last_mod += 1;
}
debug_print(NOTICE, "Moving kernel heap start to 0x%x\n", last_mod);
kmalloc_startat(last_mod);
}