Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff8a03a6 authored by Hiroshi Shimamoto's avatar Hiroshi Shimamoto Committed by Ingo Molnar
Browse files

x86: clean up apic_32.c, take 2



More white space and coding style clean up.

Signed-off-by: default avatarHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f2633105
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -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);