1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

enable x2APIC only at boot time (and not in every reset call)

This commit is contained in:
Stefan Lankes 2016-10-09 08:57:31 +02:00
parent b32d266a8c
commit b22e2601f3

View file

@ -431,7 +431,7 @@ static int lapic_reset(void)
if (!lapic)
return -ENXIO;
x2apic_enable();
//x2apic_enable();
max_lvt = apic_lvt_entries();
@ -893,7 +893,7 @@ extern int set_idle_task(void);
#if MAX_CORES > 1
int smp_start(void)
{
//x2apic_enable();
x2apic_enable();
// reset APIC and set id
lapic_reset();