diff options
author | 2018-03-01 13:59:29 +0800 | |
---|---|---|
committer | 2018-03-01 10:12:20 +0100 | |
commit | 3ea9e7ae1a2038b9fdff729861c9b4af0087024f (patch) | |
tree | d4b124281b765ebe4be3a0d9dadd05069e9ae6ff /tools/perf/scripts/python/stackcollapse.py | |
parent | x86/apic: Move pending interrupt check code into it's own function (diff) | |
download | linux-dev-3ea9e7ae1a2038b9fdff729861c9b4af0087024f.tar.xz linux-dev-3ea9e7ae1a2038b9fdff729861c9b4af0087024f.zip |
x86/apic: Modernize the pending interrupt code
The pending interrupt check code is old, update the following:
- Use for_each_set_bit() instead of open coding it
- Replace printk() with pr_err()
- Get rid of printk line breaks
- Make curly braces balanced
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: bhe@redhat.com
Cc: ebiederm@xmission.com
Link: https://lkml.kernel.org/r/20180301055930.2396-3-douly.fnst@cn.fujitsu.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions