[PATCH] efi: stub: define DISABLE_BRANCH_PROFILING for all architectures

Matt Fleming matt at codeblueprint.co.uk
Tue Jan 5 07:39:18 PST 2016


On Tue, 05 Jan, at 03:56:39PM, Ard Biesheuvel wrote:
> (+ Arnd)
> 
> On 4 January 2016 at 13:31, Will Deacon <will.deacon at arm.com> wrote:
> > On Wed, Dec 23, 2015 at 10:29:28AM +0100, Ard Biesheuvel wrote:
> >> 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.
> >>
> >> Reported-by: Will Deacon <will.deacon at arm.com>
> >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> >> ---
> >>  drivers/firmware/efi/libstub/Makefile | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > Cheers, Ard. The kernel now builds and boots as an EFI application for
> > me when the dreaded #define if config option is enabled:
> >
> >   Tested-by: Will Deacon <will.deacon at arm.com>
> >
> > Will
> >
> 
> @Matt: this is causing randconfig build errors for ARM in -next. Mind
> if we take this through some other tree?

Go ahead.

Reviewed-by: Matt Fleming <matt at codeblueprint.co.uk>



More information about the linux-arm-kernel mailing list