summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorArnd Bergmann2015-05-22 16:32:02 +0200
committerArnd Bergmann2015-05-22 16:32:02 +0200
commita4526915b67afb09c60bece6bc395e58ba83e271 (patch)
tree374b787a3be3c23b96e391fdfd06183f8d6ba270 /arch/arm/include/asm
parentARM: vf610: enable Cortex-M4 configuration on Vybrid SoC (diff)
parentARM: BCM63xx: Add SMP support for BCM63138 (diff)
downloadkernel-qcow2-linux-a4526915b67afb09c60bece6bc395e58ba83e271.tar.gz
kernel-qcow2-linux-a4526915b67afb09c60bece6bc395e58ba83e271.tar.xz
kernel-qcow2-linux-a4526915b67afb09c60bece6bc395e58ba83e271.zip
Merge tag 'arm-soc/for-4.2/soc-take2' of http://github.com/broadcom/stblinux into next/soc
Merge mach-bcm changes from Florian Fainelli: This pull request contains the following changes: - Rafal adds an additional fault code to be ignored by the kernel on BCM5301X SoC - BCM63138 SMP support which: * common code to control the PMB bus, to be shared with a reset controller driver in drivers/reset * secondary CPU initialization sequence using PMB helpers * small changes suggested by Russell King to allow platforms to disable VFP * tag 'arm-soc/for-4.2/soc-take2' of http://github.com/broadcom/stblinux: ARM: BCM63xx: Add SMP support for BCM63138 ARM: vfp: Add vfp_disable for problematic platforms ARM: vfp: Add include guards ARM: BCM63xx: Add secondary CPU PMB initialization sequence ARM: BCM63xx: Add Broadcom BCM63xx PMB controller helpers ARM: BCM5301X: Ignore another (BCM4709 specific) fault code
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/vfp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/include/asm/vfp.h b/arch/arm/include/asm/vfp.h
index ee5f3084243c..22e414056a8c 100644
--- a/arch/arm/include/asm/vfp.h
+++ b/arch/arm/include/asm/vfp.h
@@ -5,6 +5,9 @@
* First, the standard VFP set.
*/
+#ifndef __ASM_VFP_H
+#define __ASM_VFP_H
+
#define FPSID cr0
#define FPSCR cr1
#define MVFR1 cr6
@@ -87,3 +90,9 @@
#define VFPOPDESC_UNUSED_BIT (24)
#define VFPOPDESC_UNUSED_MASK (0xFF << VFPOPDESC_UNUSED_BIT)
#define VFPOPDESC_OPDESC_MASK (~(VFPOPDESC_LENGTH_MASK | VFPOPDESC_UNUSED_MASK))
+
+#ifndef __ASSEMBLY__
+void vfp_disable(void);
+#endif
+
+#endif /* __ASM_VFP_H */