]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: I/O APIC: remove redundant LVT0 masking
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 27 May 2008 20:19:28 +0000 (21:19 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:13:03 +0000 (09:13 +0200)
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>
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c

index 6e743ecf863b55903ecb7830858891c33919b0ec..51e5519ee1a7a67172361cd3e418554af38936e3 100644 (file)
@@ -1310,9 +1310,6 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in
 
        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
         * to the first CPU.
index 83d4e117746ba12014f703489bea9778c01a16ab..565f19b01bf4c309f0053a522f6daff1becc4836 100644 (file)
@@ -906,9 +906,6 @@ static void __init setup_ExtINT_IRQ0_pin(unsigned int apic, unsigned int pin, in
 
        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
         * to the first CPU.