Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 122134fa authored by Dou Liyang's avatar Dou Liyang Committed by Greg Kroah-Hartman
Browse files

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: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: default avatarThomas 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: default avatarSasha Levin <sashal@kernel.org>
parent 3bbebab1
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