Stop using VFP in pcpu.h when we mean ARMv6 and later.

This commit is contained in:
Andrew Turner 2015-06-11 13:58:40 +00:00
parent 4837ce7f8d
commit 7061124034

View File

@ -32,6 +32,7 @@
#ifdef _KERNEL
#include <machine/acle-compat.h>
#include <machine/cpuconf.h>
#define ALT_STACK_SIZE 128
@ -40,7 +41,7 @@ struct vmspace;
#endif /* _KERNEL */
#ifdef VFP
#if __ARM_ARCH >= 6
#define PCPU_MD_FIELDS \
unsigned int pc_vfpsid; \
unsigned int pc_vfpmvfr0; \
@ -58,9 +59,8 @@ struct pcb;
struct pcpu;
extern struct pcpu *pcpup;
#if ARM_ARCH_6 || ARM_ARCH_7A
/* or ARM_TP_ADDRESS mark REMOVE ME NOTE */
#if __ARM_ARCH >= 6
#define CPU_MASK (0xf)
#ifndef SMP