Skip to content
Commit fd2aab38 authored by Bradley Bolen's avatar Bradley Bolen Committed by Carles Cufí
Browse files

arch: arm: aarch32: Fix when mode offset is defined



Commit a2cfb843 ("arch: arm: Add code for swapping threads between
secure and non-secure") changed the mode variable in the _thread_arch to
be defined by ARM_STORE_EXC_RETURN or USERSPACE.  The generated offset
define for mode was enabled by FPU_SHARING or USERSPACE.  This broke
Cortex-R with FPU, but with ARM_STORE_EXC_RETURN disabled.  Reconcile
the checks.

Signed-off-by: default avatarBradley Bolen <bbolen@lexmark.com>
parent 0f3e473f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment