efi: stub: define DISABLE_BRANCH_PROFILING for all architectures
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 23 Dec 2015 09:29:28 +0000 (10:29 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 6 Jan 2016 15:42:12 +0000 (15:42 +0000)
commitb523e185bba36164ca48a190f5468c140d815414
treef764c179c2b2a089d5b580aaef4f61acbfd02bad
parentee03353bc04f8e460cc4e3da80d9721d9ecb89f1
efi: stub: define DISABLE_BRANCH_PROFILING for all architectures

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: Matt Fleming <matt@codeblueprint.co.uk>
Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/firmware/efi/libstub/Makefile