x86: clean up apic_32.c, take 2
More white space and coding style clean up. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
f2633105cd
commit
ff8a03a623
1 changed files with 7 additions and 6 deletions
|
@ -46,7 +46,7 @@
|
|||
/*
|
||||
* Sanity check
|
||||
*/
|
||||
#if (SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F
|
||||
#if ((SPURIOUS_APIC_VECTOR & 0x0F) != 0x0F)
|
||||
# error SPURIOUS_APIC_VECTOR definition error
|
||||
#endif
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
|||
*
|
||||
* -1=force-disable, +1=force-enable
|
||||
*/
|
||||
static int enable_local_apic __initdata = 0;
|
||||
static int enable_local_apic __initdata;
|
||||
|
||||
/* Local APIC timer verification ok */
|
||||
static int local_apic_timer_verify_ok;
|
||||
|
@ -976,7 +976,8 @@ void __cpuinit setup_local_APIC(void)
|
|||
value |= APIC_LVT_LEVEL_TRIGGER;
|
||||
apic_write_around(APIC_LVT1, value);
|
||||
|
||||
if (integrated && !esr_disable) { /* !82489DX */
|
||||
if (integrated && !esr_disable) {
|
||||
/* !82489DX */
|
||||
maxlvt = lapic_get_maxlvt();
|
||||
if (maxlvt > 3) /* Due to the Pentium erratum 3AP. */
|
||||
apic_write(APIC_ESR, 0);
|
||||
|
|
Loading…
Reference in a new issue