mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 05:10:01 +07:00
x86: I/O APIC: remove redundant LVT0 masking
The LINT0 line of the local APIC is masked in the LVT0 entry in check_timer() before this function is ever called. Removed the redundant unmasking for better control. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
80d16bace6
commit
6b4722a777
@ -1310,9 +1310,6 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in
|
|||||||
|
|
||||||
memset(&entry,0,sizeof(entry));
|
memset(&entry,0,sizeof(entry));
|
||||||
|
|
||||||
/* mask LVT0 */
|
|
||||||
apic_write_around(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_EXTINT);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We use logical delivery to get the timer IRQ
|
* We use logical delivery to get the timer IRQ
|
||||||
* to the first CPU.
|
* to the first CPU.
|
||||||
|
@ -906,9 +906,6 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in
|
|||||||
|
|
||||||
memset(&entry, 0, sizeof(entry));
|
memset(&entry, 0, sizeof(entry));
|
||||||
|
|
||||||
/* mask LVT0 */
|
|
||||||
apic_write(APIC_LVT0, APIC_LVT_MASKED | APIC_DM_EXTINT);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We use logical delivery to get the timer IRQ
|
* We use logical delivery to get the timer IRQ
|
||||||
* to the first CPU.
|
* to the first CPU.
|
||||||
|
Loading…
Reference in New Issue
Block a user