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?

Reply via email to