svn commit: r362136 - head/sys/sys

John Baldwin jhb at FreeBSD.org
Fri Jun 12 23:42:37 UTC 2020


Author: jhb
Date: Fri Jun 12 23:42:36 2020
New Revision: 362136
URL: https://svnweb.freebsd.org/changeset/base/362136

Log:
  Allow <sys/param.h> to be included from userland assembly files.
  
  This will be used by future changes to define ELF notes in assembly.
  
  Reviewed by:	kib
  Sponsored by:	DARPA
  Differential Revision:	https://reviews.freebsd.org/D25211

Modified:
  head/sys/sys/param.h

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h	Fri Jun 12 23:10:30 2020	(r362135)
+++ head/sys/sys/param.h	Fri Jun 12 23:42:36 2020	(r362136)
@@ -136,8 +136,10 @@
 #endif
 
 #ifndef _KERNEL
+#ifndef LOCORE
 /* Signals. */
 #include <sys/signal.h>
+#endif
 #endif
 
 /* Machine type dependent parameters. */


More information about the svn-src-head mailing list