Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2016 16:29:06 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307377 - head/sys/arm64/include
Message-ID:  <201610151629.u9FGT6oR019394@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610151629.u9FGT6oR019394>