x86: use setup_clear_cpu_cap() when disabling the lapic
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 21 Jul 2008 08:38:14 +0000 (01:38 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 21 Jul 2008 11:03:12 +0000 (13:03 +0200)
commit9175fc06aee79c349790672178d3fd7507d75c86
tree4b83a2ef781af89040a41b2432e32c6a3ec27689
parent6ac8d51f01d345af5ea4209004a9ea29b2f20891
x86: use setup_clear_cpu_cap() when disabling the lapic

... so don't need to call clear_cpu_cap again in early_identify_cpu,
and could use cleared_cpu_caps like other places.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c
arch/x86/kernel/cpu/common_64.c