Commit 3ec5de00 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Lee Jones
Browse files

efi: stub: define DISABLE_BRANCH_PROFILING for all architectures



[ Upstream commit b523e185 ]

This moves the DISABLE_BRANCH_PROFILING define from the x86 specific
to the general CFLAGS definition for the stub. This fixes build errors
when building for arm64 with CONFIG_PROFILE_ALL_BRANCHES_ENABLED.

Reviewed-by: default avatarMatt Fleming <matt@codeblueprint.co.uk>
Reported-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Change-Id: I9eb3738d762e322420693cbc1add99288aea311d
Signed-off-by: default avatarLee Jones <joneslee@google.com>
parent 12f57c9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment