]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: fix new BSYM() usage introduced via for-arm-soc branch
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Jun 2015 20:19:35 +0000 (21:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 12 Jun 2015 20:19:35 +0000 (21:19 +0100)
Commit 32e55a777f83 ("ARM: 8389/1: Add cpu_resume_arm() for firmwares
that resume in ARM state") needed to introduce a new usage of BSYM()
to fix a problem with a previous patch.  This in turn causes a conflict
with the "bsym" branch which removes this symbol, replacing it with a
'badr' assembly macro.  Fix this up.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/sleep.S

index c5e1e21a294fbea2b17592b533273921b1c1107c..0f6c1000582c359881b6985c57d010037cb4ac17 100644 (file)
@@ -122,7 +122,7 @@ ENDPROC(cpu_resume_after_mmu)
 #ifdef CONFIG_MMU
        .arm
 ENTRY(cpu_resume_arm)
- THUMB(        adr     r9, BSYM(1f)    )       @ Kernel is entered in ARM.
+ THUMB(        badr    r9, 1f          )       @ Kernel is entered in ARM.
  THUMB(        bx      r9              )       @ If this is a Thumb-2 kernel,
  THUMB(        .thumb                  )       @ switch to Thumb now.
  THUMB(1:                      )