The patch for r193011 was partially rejected when applied, complete it.

This commit is contained in:
Attilio Rao 2009-05-29 08:01:48 +00:00
parent 5512745e3a
commit e31d083357
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193025

View File

@ -36,23 +36,25 @@
* so should not be relied upon in combination with sx locks.
*/
#include "opt_adaptive_sx.h"
#include "opt_ddb.h"
#include "opt_kdtrace.h"
#include "opt_no_adaptive_sx.h"
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/ktr.h>
#include <sys/linker_set.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/sleepqueue.h>
#include <sys/sx.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#ifdef ADAPTIVE_SX
#if defined(SMP) && !defined(NO_ADAPTIVE_SX)
#include <machine/cpu.h>
#endif