]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: apic - unify init_bsp_APIC
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 15 Aug 2008 19:05:18 +0000 (23:05 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 16 Aug 2008 13:37:45 +0000 (15:37 +0200)
commit638c0411922540deaf8797cacf73513b17618405
treee857df3c688aeea198eb31eb2c8597d3a8f08c25
parent6f6da97faf29f87b3980a6992fb8cab44b4c444d
x86: apic - unify init_bsp_APIC

- remove redundant read of APIC_LVR register in 64bit mode
- APIC is always integrated for 64bit mode so
  gcc will eliminate lapic_is_integrated call

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c