summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-03-23 11:26:11 +0000
committertjr <tjr@FreeBSD.org>2003-03-23 11:26:11 +0000
commit9785758af05bf04abf659e455022398d1923565b (patch)
tree2e2aec9e93210a8d826acf29f6e6e64a4776c61b /sys/sys
parent0e60b8dd4b258a3696778626b046c6f51864a9b6 (diff)
downloadFreeBSD-src-9785758af05bf04abf659e455022398d1923565b.zip
FreeBSD-src-9785758af05bf04abf659e455022398d1923565b.tar.gz
Remove unused mtx_lock_giant(), mtx_unlock_giant(), related globals
and sysctls.
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/mutex.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h
index 2df9e43..b85edc7 100644
--- a/sys/sys/mutex.h
+++ b/sys/sys/mutex.h
@@ -114,8 +114,6 @@ void _mtx_unlock_spin_flags(struct mtx *m, int opts, const char *file,
#ifdef INVARIANT_SUPPORT
void _mtx_assert(struct mtx *m, int what, const char *file, int line);
#endif
-int mtx_lock_giant(int sysctlvar);
-void mtx_unlock_giant(int s);
/*
* We define our machine-independent (unoptimized) mutex micro-operations
@@ -291,13 +289,6 @@ extern struct mtx sched_lock;
extern struct mtx Giant;
/*
- * Giant lock sysctl variables used by other modules
- */
-extern int kern_giant_proc;
-extern int kern_giant_file;
-extern int kern_giant_ucred;
-
-/*
* Giant lock manipulation and clean exit macros.
* Used to replace return with an exit Giant and return.
*
OpenPOWER on IntegriCloud