summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/thread_info.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-04-18 22:43:06 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2008-04-18 22:43:06 +0100
commitd7f864be8323e5394040e2877594645b0e7da85d (patch)
tree55ecf960706be9a4ee0c7804c57c7f5d30e0f1f7 /include/asm-arm/thread_info.h
parent05dda977f2574c3341abef9b74c27d2b362e1e3a (diff)
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 'include/asm-arm/thread_info.h')
-rw-r--r--include/asm-arm/thread_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h
index 41784357a20..f5a66478631 100644
--- a/include/asm-arm/thread_info.h
+++ b/include/asm-arm/thread_info.h
@@ -62,6 +62,9 @@ struct thread_info {
struct crunch_state crunchstate;
union fp_state fpstate __attribute__((aligned(8)));
union vfp_state vfpstate;
+#ifdef CONFIG_ARM_THUMBEE
+ unsigned long thumbee_state; /* ThumbEE Handler Base register */
+#endif
struct restart_block restart_block;
};