x86/apic: Drop logical_smp_processor_id() inline
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Thu, 1 Mar 2018 05:59:30 +0000 (13:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 18:16:08 +0000 (19:16 +0100)
commit122134fa8c08e0a033f1b92b8fcacf4e769b5635
tree98f02588455c779916c5c63c2851625c30525a78
parent3bbebab1715235100b68b0617fb70cfe2f07e35d
x86/apic: Drop logical_smp_processor_id() inline

[ Upstream commit 8f1561680f42a5491b371b513f1ab8197f31fd62 ]

The logical_smp_processor_id() inline which is only called in
setup_local_APIC() on x86_32 systems has no real value.

Drop it and directly use GET_APIC_LOGICAL_ID() at the call site and use a
more suitable variable name for readability

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: andy.shevchenko@gmail.com
Cc: bhe@redhat.com
Cc: ebiederm@xmission.com
Link: https://lkml.kernel.org/r/20180301055930.2396-4-douly.fnst@cn.fujitsu.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/asm/smp.h
arch/x86/kernel/apic/apic.c