lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] x86/apic: Move pending intr check code into it's own function
On Wed, Feb 14, 2018 at 8:24 AM, Dou Liyang <douly.fnst@cn.fujitsu.com> wrote:

Yes, I see you just moved the old code, but it might make sense to
update later the following.

> + for (j = 31; j >= 0; j--) {
> + if (value & (1<<j)) {

for_each_set_bit()

> + ack_APIC_irq();
> + acked++;
> + }
> + }

> + printk(KERN_ERR "LAPIC pending interrupts after %d EOI\n",
> + acked);

pr_err()

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2018-02-14 12:39    [W:0.039 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site