Re: [PATCH v3 2/2] x86/apic: Replace common tools with new ones
Hi Andy, At 02/23/2018 08:40 PM, Andy Shevchenko wrote: On Fri, Feb 23, 2018 at 9:54 AM, Dou Liyang wrote: The pending interrupt check code is old, update the following code. -Replace for() with for_each_set_bit() - for (j = 31; j >= 0; j--) { -
Re: [PATCH v3 2/2] x86/apic: Replace common tools with new ones
On Fri, Feb 23, 2018 at 9:54 AM, Dou Liyang wrote: > The pending interrupt check code is old, update the following code. > > -Replace for() with for_each_set_bit() > - for (j = 31; j >= 0; j--) { > - if (value & (1< + for