summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/hppa64/autoconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/hppa64/autoconf.c')
-rw-r--r--sys/arch/hppa64/hppa64/autoconf.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/arch/hppa64/hppa64/autoconf.c b/sys/arch/hppa64/hppa64/autoconf.c
index 9945c275d7b..ef93254bdab 100644
--- a/sys/arch/hppa64/hppa64/autoconf.c
+++ b/sys/arch/hppa64/hppa64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.3 2005/05/25 20:49:26 mickey Exp $ */
+/* $OpenBSD: autoconf.c,v 1.4 2005/12/27 18:31:09 miod Exp $ */
/*
* Copyright (c) 1998-2005 Michael Shalayeff
@@ -67,7 +67,6 @@
#endif
void setroot(void);
-void swapconf(void);
void dumpconf(void);
int findblkmajor(struct device *dv);
@@ -118,7 +117,6 @@ cpu_configure(void)
spl0();
setroot();
- swapconf();
dumpconf();
if (cold_hook)
(*cold_hook)(HPPA_COLD_HOT);
@@ -177,29 +175,6 @@ heartbeat(v)
#endif
/*
- * Configure swap space and related parameters.
- */
-void
-swapconf(void)
-{
- struct swdevt *swp;
- int nblks, maj;
-
- for (swp = swdevt; swp->sw_dev != NODEV; swp++) {
- maj = major(swp->sw_dev);
- if (maj > nblkdev)
- break;
- if (bdevsw[maj].d_psize) {
- nblks = (*bdevsw[maj].d_psize)(swp->sw_dev);
- if (nblks != -1 &&
- (swp->sw_nblks == 0 || swp->sw_nblks > nblks))
- swp->sw_nblks = nblks;
- swp->sw_nblks = ctod(dtoc(swp->sw_nblks));
- }
- }
-}
-
-/*
* This is called by configure to set dumplo and dumpsize.
* Dumps always skip the first CLBYTES of disk space
* in case there might be a disk label stored there.