Messages in this thread | | | Date | Wed, 26 Aug 2009 08:12:41 +0200 | From | Ingo Molnar <> | Subject | Re: [rfc -tip 3/4] x86,apic: fix missed handling of discrete apics |
| |
* Cyrill Gorcunov <gorcunov@openvz.org> 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
| |