Skip to content
Commit d91cc2f4 authored by Raphael Gault's avatar Raphael Gault Committed by Will Deacon
Browse files

arm64: perf_event: Add missing header needed for smp_processor_id()



In perf_event.c we use smp_processor_id(), but we haven't included
<linux/smp.h> where it is defined, and rely on this being pulled in
via a transitive include. Let's make this more robust by including
<linux.smp.h> explicitly.

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarRaphael Gault <raphael.gault@arm.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 228f855f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment