From: Yinghai Lu Date: Wed, 12 Oct 2011 07:33:48 +0000 (-0700) Subject: x86, ioapic: Clean up ioapic/apic_id usage X-Git-Tag: v3.2-rc1~158^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f50d45fae8189365805d26e1fdf26a75301bcae;p=pandora-kernel.git x86, ioapic: Clean up ioapic/apic_id usage While looking at the code, apic_id sometime is referred to index of ioapic, but sometime is used for phys apic id. and some even use apic for real apic id. It is very confusing. So try to limit apic_id or ioapic_id to be real apic id for ioapic, and use ioapic_idx for ioapic index in the array. -v2: Suggested by Ingo, use ioapic_idx consistently, instead of ioapic Signed-off-by: Yinghai Lu Cc: Naga Chumbalkar Cc: Suresh Siddha Link: http://lkml.kernel.org/r/4E9542DC.3090509@oracle.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed