summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hwcap.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-02-11 13:13:56 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-02-12 10:59:44 +0000
commit7279dc3e914635ab4b288ec39383272a06c466f3 (patch)
treefd5801c660dc1d3b262cde513ba3baaf2f89e13b /arch/arm/include/asm/hwcap.h
parent3d1228ead618b88e8606015cbabc49019981805d (diff)
[ARM] 5388/1: Add hwcap bits for VFPv3 and VFPv3D16
The VFPv3D16 is a VFPv3 CPU configuration where only 16 double registers are present, as the VFPv2 configuration. This patch adds the corresponding hwcap bits so that applications or debuggers have more information about the supported features. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/hwcap.h')
-rw-r--r--arch/arm/include/asm/hwcap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hwcap.h b/arch/arm/include/asm/hwcap.h
index bda489f9f01..f7bd52b1c36 100644
--- a/arch/arm/include/asm/hwcap.h
+++ b/arch/arm/include/asm/hwcap.h
@@ -17,6 +17,8 @@
#define HWCAP_CRUNCH 1024
#define HWCAP_THUMBEE 2048
#define HWCAP_NEON 4096
+#define HWCAP_VFPv3 8192
+#define HWCAP_VFPv3D16 16384
#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
/*