Drop unnecessary headers. This fixes kernel build on platforms
authorvisa <visa@openbsd.org>
Thu, 20 Apr 2017 15:06:47 +0000 (15:06 +0000)
committervisa <visa@openbsd.org>
Thu, 20 Apr 2017 15:06:47 +0000 (15:06 +0000)
without <machine/mplock.h>.

sys/kern/kern_lock.c

index a5af0a5..c2f293d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: kern_lock.c,v 1.48 2017/04/20 13:20:17 visa Exp $     */
+/*     $OpenBSD: kern_lock.c,v 1.49 2017/04/20 15:06:47 visa Exp $     */
 
 /* 
  * Copyright (c) 1995
 
 #include <sys/param.h>
 #include <sys/lock.h>
-#include <sys/mplock.h>
 #include <sys/systm.h>
 #include <sys/sched.h>
 #include <sys/witness.h>
-#include <sys/_lock.h>
 
 #ifdef MP_LOCKDEBUG
 /* CPU-dependent timing, this needs to be settable from ddb. */