Skip to content
Commit fe241fe9 authored by Dou Liyang's avatar Dou Liyang Committed by Greg Kroah-Hartman
Browse files

x86/apic: Move pending interrupt check code into it's own function



[ Upstream commit 9b217f33 ]

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: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarAndy 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: default avatarSasha Levin <sashal@kernel.org>
parent f69f2d61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment