Skip to content

Commit cbc450c

Browse files
tomutaawesomekling
authored andcommitted
Kernel: Fix KUBSAN warnings due to unaligned APIC variables
1 parent 32d9534 commit cbc450c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Kernel/Arch/i386/Boot/boot.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ apic_ap_start32_2:
378378
.global apic_ap_start_size
379379
apic_ap_start_size:
380380
.2byte end_apic_ap_start - apic_ap_start
381+
.align 4
381382
ap_cpu_id:
382383
.4byte 0x0
383384
ap_cpu_gdt:

0 commit comments

Comments
 (0)