diff options
author | Yinghai Lu <yinghai.lu@oracle.com> | 2011-10-12 00:33:48 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-10-12 09:55:28 +0200 |
commit | 6f50d45fae8189365805d26e1fdf26a75301bcae (patch) | |
tree | 3f11ba9089828fbb1b3157ad78e48c6a0a967f98 /init | |
parent | cda417dd87ed46f58cbc7d3f075ebe42b4462140 (diff) |
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 <yinghai@kernel.org>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/4E9542DC.3090509@oracle.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions