Do not align allocations in init_smp

This commit is contained in:
mintsuki 2020-09-19 00:21:54 +02:00
parent 132ff2fdbe
commit 10ce8e07bf
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -88,7 +88,7 @@ struct smp_information *init_smp(size_t *cpu_count,
struct gdtr gdtr;
asm volatile ("sgdt %0" :: "m"(gdtr));
struct smp_information *ret = balloc(0);
struct smp_information *ret = balloc_aligned(0, 1);
*cpu_count = 1;
// Parse the MADT entries