Re: [PATCH 3.18 00/39] 3.18.53-stable review
From: Matthijs van Duin
Date: Thu May 11 2017 - 17:32:05 EST
On Thu, May 11, 2017 at 02:16:07PM -0700, Guenter Roeck wrote:
> arch/arm/mach-omap2/omap-headsmp.S:60: Error: bad instruction `badr r0,hyp_boot'
>
> I see "badr" used in later kernels, but not in v3.18. Does this possibly
> require some secondary patches ?
It was introduced in kernel 4.2 by
14327c662822 "ARM: replace BSYM() with badr assembly macro"
The correct backport would therefore just be:
- adr r0, hyp_boot
+ adr r0, BSYM(hyp_boot)
Right?