]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: apic - unify clear_local_APIC
authorCyrill Gorcunov <gorcunov@gmail.com>
Sat, 16 Aug 2008 19:21:50 +0000 (23:21 +0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 17 Aug 2008 12:41:47 +0000 (14:41 +0200)
commit6764014bc8bb4849f6a4f336477e873ad5861ed2
tree309b739269798011b2ac1602219f41327e9061d3
parent638c0411922540deaf8797cacf73513b17618405
x86: apic - unify clear_local_APIC

- 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: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c