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
This commit is contained in:
Mateusz Guzik 2016-08-03 09:15:10 +00:00
parent 20e37fa8ca
commit 0453ade508
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303707

View File

@ -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>