UPSTREAM: 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)
committerJeff Vander Stoep <jeffv@google.com>
Sun, 18 Sep 2016 21:39:58 +0000 (14:39 -0700)
commit3c31c6d7098894f0bf886ebe711fd930855626e5
tree54d0c9c056adc17b13044c2131fc7b4367f76565
parentd686cf4829c01ca92e8b10603b9250221b3bdfcb
UPSTREAM: 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>
Bug: 30369029
Patchset: rework-pagetable

(cherry picked from commit b523e185bba36164ca48a190f5468c140d815414)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: Id5a2a3986adc60ddf3d247c038667ce9719f3ee0
drivers/firmware/efi/libstub/Makefile