diff options
author | peter <peter@FreeBSD.org> | 1998-12-28 16:28:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-12-28 16:28:24 +0000 |
commit | 9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2 (patch) | |
tree | b01101042b9231af62aa21c6bdee24e0419bddae /sys/dev/vinum/vinumlock.c | |
parent | b44d350f5dbecc328917a46469163854cf764dd0 (diff) | |
download | FreeBSD-src-9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2.zip FreeBSD-src-9a3d9ee577a3eec80188f6c61bfff9dc7d32e9e2.tar.gz |
Some relatively minor tweaks to enable vinum to be built into a static
kernel as a pseudo-device. The changes were:
- #ifdef DEBUG -> #ifdef VINUMDEBUG
- opt_vinum.h for holding above config variable
- Fixing up a few stray problems where DEBUG wasn't optional.
- config.c -> vinumconfig.c (there's already a config.o)
- Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end
up with something else conflicting later on and we might have to have yet
more repository copies of files).
- include file paths fixups.. (ie: get them all from the kernel tree
instead of partly from the kernel and partly from /usr/include/machine)
I've spoken with Greg about this.. I hope this doesn't mess him around
too much..
Diffstat (limited to 'sys/dev/vinum/vinumlock.c')
-rw-r--r-- | sys/dev/vinum/vinumlock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumlock.c b/sys/dev/vinum/vinumlock.c index 9376364..a979408 100644 --- a/sys/dev/vinum/vinumlock.c +++ b/sys/dev/vinum/vinumlock.c @@ -33,11 +33,12 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: lock.c,v 1.1.1.1 1998/09/16 05:56:21 grog Exp $ + * $Id: lock.c,v 1.3 1998/12/28 04:56:23 peter Exp $ */ #define REALLYKERNEL -#include "vinumhdr.h" +#include "opt_vinum.h" +#include <dev/vinum/vinumhdr.h> /* Lock routines. Currently, we lock either an individual volume * or the global configuration. I don't think tsleep and |