Re: [PATCH] affinity is not defined in non-smp kernels - i386

Eric W. Biederman
2007-02-28T18:21:34Z

Bill Davidsen <davidsen@tmr.com> writes:

> Eric W. Biederman wrote:
>> Fernando Luis Vázquez Cao <fernando@oss.ntt.co.jp> writes:
>>
>>> Initialize affinity only when building SMP kernels.
>>
>> Reasonable. I goofed here.
>>
>> However I would prefer my patch that just deletes these problem lines.
>> These lines don't really contribute anything and are harmless to
>> remove.
>
> Where is the initialization performed, then?

The field is initialized statically. We also never use it internally it the
kernel except for reporting back to the user what where we were told we could
route the interrupt to.

Eric