lkml.org 
[lkml]   [2011]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86, ioapic: Clean up ioapic/apic_id usage

* Yinghai Lu <yinghai@kernel.org> wrote:

>
> While looking at the code, apic_id sometime is referred to index of ioapic, but
> sometime is used for real apic id. and some even use apic for real apic id.
> It is very confusing.
>
> So try to limit apic_id to be real apic id for ioapic.
> and use ioapic for ioapic index in the array.

Yes, consistency and unambiguity is good - please make it ioapic_id
and ioapic_idx.

('apic_id' can be confused with a local APIC id, and 'ioapic' can be
confused with an ioapic ID.)

Thanks,

Ingo


\
 
 \ /
  Last update: 2011-07-25 09:33    [W:0.143 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site