diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2018-03-01 13:59:28 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-12 19:16:08 +0100 |
commit | 3bbebab1715235100b68b0617fb70cfe2f07e35d (patch) | |
tree | c00f8d146bef46ccf9ec5335cfe6cc18b52b5c17 /arch/x86/kernel/tsc_msr.c | |
parent | 18372c98cf9ebc696ac6ccef904592ab30fc2d3d (diff) |
x86/apic: Move pending interrupt check code into it's own function
[ Upstream commit 9b217f33017715903d0956dfc58f82d2a2d00e63 ]
The pending interrupt check code is mixed with the local APIC setup code,
that looks messy.
Extract the related code, move it into a new function named
apic_pending_intr_clear().
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-2-douly.fnst@cn.fujitsu.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/kernel/tsc_msr.c')
0 files changed, 0 insertions, 0 deletions