Fix the build, struct vfpstate needs to be visible to userspace as it's

part of struct pcb which is in a header used in libutil.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2016-10-15 16:29:06 +00:00
parent 31b54b30fe
commit d88a17dd8f

View File

@ -32,7 +32,6 @@
#ifndef _MACHINE_VFP_H_
#define _MACHINE_VFP_H_
#ifdef _KERNEL
#ifndef LOCORE
struct vfpstate {
@ -41,6 +40,7 @@ struct vfpstate {
uint32_t vfp_fpsr;
};
#ifdef _KERNEL
void vfp_init(void);
void vfp_discard(struct thread *);
void vfp_restore_state(void);