svn commit: r307377 - head/sys/arm64/include

Andrew Turner andrew at FreeBSD.org
Sat Oct 15 16:29:08 UTC 2016


Author: andrew
Date: Sat Oct 15 16:29:06 2016
New Revision: 307377
URL: https://svnweb.freebsd.org/changeset/base/307377

Log:
  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

Modified:
  head/sys/arm64/include/vfp.h

Modified: head/sys/arm64/include/vfp.h
==============================================================================
--- head/sys/arm64/include/vfp.h	Sat Oct 15 15:55:04 2016	(r307376)
+++ head/sys/arm64/include/vfp.h	Sat Oct 15 16:29:06 2016	(r307377)
@@ -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);


More information about the svn-src-head mailing list