[PATCH 0/2] ARM: honor Thumb bit when calling procinfo setup functions

Ard Biesheuvel ard.biesheuvel at linaro.org
Tue Apr 21 02:06:43 PDT 2015


This addresses the observed issue where we are inadvertently relying
on the procinfo setup function to use the same instruction set as the
call site instead of using the correct annotation (patch #1) and call
sequence (patch #2)

Ard Biesheuvel (2):
  ARM: include Thumb2 bit in PROCINFO setup function offset
  ARM: prefer "bx reg" over "mov pc, reg" for all registers

 arch/arm/include/asm/assembler.h | 4 ----
 arch/arm/mm/proc-v7.S            | 2 +-
 arch/arm/mm/proc-v7m.S           | 2 +-
 3 files changed, 2 insertions(+), 6 deletions(-)

-- 
1.8.3.2




More information about the linux-arm-kernel mailing list