diff options
author | Dou Liyang <[email protected]> | 2018-03-01 13:59:29 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-03-01 10:12:20 +0100 |
commit | 3ea9e7ae1a2038b9fdff729861c9b4af0087024f (patch) | |
tree | d4b124281b765ebe4be3a0d9dadd05069e9ae6ff /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9b217f33017715903d0956dfc58f82d2a2d00e63 (diff) |
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 <[email protected]>
Signed-off-by: Dou Liyang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions