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 /include | |
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 'include')
-rw-r--r-- | include/asm-arm/hwcap.h | 1 | ||||
-rw-r--r-- | include/asm-arm/thread_info.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/hwcap.h b/include/asm-arm/hwcap.h index 01a1391..81f4c89 100644 --- a/include/asm-arm/hwcap.h +++ b/include/asm-arm/hwcap.h @@ -15,6 +15,7 @@ #define HWCAP_JAVA 256 #define HWCAP_IWMMXT 512 #define HWCAP_CRUNCH 1024 +#define HWCAP_THUMBEE 2048 #if defined(__KERNEL__) && !defined(__ASSEMBLY__) /* diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h index 4178435..f5a6647 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; }; |