summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1998-08-23 14:18:08 +0000
committerdes <des@FreeBSD.org>1998-08-23 14:18:08 +0000
commitdb3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5 (patch)
tree0d013a30b71ea14708e9e3df46dd715561746407 /sys/i386
parent9ba1aae697b71ae930dfcd9db78b06dcae0e31d7 (diff)
downloadFreeBSD-src-db3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5.zip
FreeBSD-src-db3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5.tar.gz
Don't check minor number of dump device at all.
Discussed-with: Jörg Wunsch
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/autoconf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index 01dff04..36461a2 100644
--- a/sys/i386/i386/autoconf.c
+++ b/sys/i386/i386/autoconf.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
- * $Id: autoconf.c,v 1.101 1998/07/18 21:42:55 des Exp $
+ * $Id: autoconf.c,v 1.102 1998/07/19 11:12:14 jkh Exp $
*/
/*
@@ -418,10 +418,6 @@ setdumpdev(dev)
* and nuke dodump sysctl (too many knobs), and move this to
* kern_shutdown.c...
*/
-#ifndef SLICE
- if (dkpart(dev) != SWAP_PART)
- return (ENODEV);
-#endif /* !SLICE */
newdumplo = psize - Maxmem * PAGE_SIZE / DEV_BSIZE;
if (newdumplo < 0)
return (ENOSPC);
OpenPOWER on IntegriCloud