diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:06 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-04-18 22:43:06 +0100 |
commit | d7f864be8323e5394040e2877594645b0e7da85d (patch) | |
tree | 55ecf960706be9a4ee0c7804c57c7f5d30e0f1f7 /arch/arm/kernel/asm-offsets.c | |
parent | 05dda977f2574c3341abef9b74c27d2b362e1e3a (diff) | |
download | op-kernel-dev-d7f864be8323e5394040e2877594645b0e7da85d.zip op-kernel-dev-d7f864be8323e5394040e2877594645b0e7da85d.tar.gz |
ARMv7: Add support for the ThumbEE state saving/restoring
This patch adds the detection and handling of the ThumbEE extension on
ARMv7 CPUs.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/kernel/asm-offsets.c')
-rw-r--r-- | arch/arm/kernel/asm-offsets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c index 3278e71..6604b47 100644 --- a/arch/arm/kernel/asm-offsets.c +++ b/arch/arm/kernel/asm-offsets.c @@ -58,6 +58,9 @@ int main(void) DEFINE(TI_TP_VALUE, offsetof(struct thread_info, tp_value)); DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); DEFINE(TI_VFPSTATE, offsetof(struct thread_info, vfpstate)); +#ifdef CONFIG_ARM_THUMBEE + DEFINE(TI_THUMBEE_STATE, offsetof(struct thread_info, thumbee_state)); +#endif #ifdef CONFIG_IWMMXT DEFINE(TI_IWMMXT_STATE, offsetof(struct thread_info, fpstate.iwmmxt)); #endif |