Re: [rfc -tip 3/4] x86,apic: fix missed handling of discrete apics

From: Ingo Molnar
Date: Wed Aug 26 2009 - 02:13:05 EST



* Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:

> + if (!cpu_has_apic && (!smp_found_config || disable_apic))
> + if (!cpu_has_apic && (!smp_found_config || disable_apic))
> + if (cpu_has_apic || (smp_found_config && !disable_apic))

these are now repeating patterns, so that should be moved into a
helper inline or so.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/