• C
    x86: apic - unify clear_local_APIC · 6764014b
    Cyrill Gorcunov 提交于
    - Remove redundant masking of APIC_LVTTHMR register in apic_32.c
    
    - Add masking of APIC_LVTTHMR register to apic_64.c. We use a bit
      complicated #ifdef here: CONFIG_X86_MCE_P4THERMAL is 32bit specific
      and X86_MCE_INTEL is 64bit specific so the appropriate config variable
      will be set by Kconfig.
    
    - the APIC_ESR register clearing in apic_64.c now uses not straightforward
      way but this is allowed tradeoff.
    Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    6764014b
apic_32.c 43.1 KB