Skip to content
  • David Brownell's avatar
    ARM: use arm_reg_current() · b404b9ab
    David Brownell authored
    
    
    Start using the arm_reg_current() call.  This shrinks and speeds
    the affected code.  It can also prevent some coredumps coming from
    invalid CPSR values ... the ARMV4_5_CORE_REG_MODE() macro returns
    bogus registers if e.g. "Secure Monitor" mode isn't supported by
    the current CPU.
    
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    b404b9ab