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:
parent
b32d266a8c
commit
b22e2601f3
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue