svn commit: r303707 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Wed Aug 3 09:15:11 UTC 2016


Author: mjg
Date: Wed Aug  3 09:15:10 2016
New Revision: 303707
URL: https://svnweb.freebsd.org/changeset/base/303707

Log:
  locks: fix sx compilation on mips after r303643
  
  The kernel.h header is required for the SYSINIT macro, which apparently
  was present on amd64 by accident.
  
  Reported by:	kib

Modified:
  head/sys/kern/kern_sx.c

Modified: head/sys/kern/kern_sx.c
==============================================================================
--- head/sys/kern/kern_sx.c	Wed Aug  3 09:09:34 2016	(r303706)
+++ head/sys/kern/kern_sx.c	Wed Aug  3 09:15:10 2016	(r303707)
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kdb.h>
+#include <sys/kernel.h>
 #include <sys/ktr.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>


More information about the svn-src-head mailing list