Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/arm26 Set the major number of swapdev correct...



details:   https://anonhg.NetBSD.org/src/rev/e0ce0d8805c4
branches:  trunk
changeset: 516131:e0ce0d8805c4
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue Oct 16 23:58:29 2001 +0000

description:
Set the major number of swapdev correctly (it's 0, not 1).  This
finally makes pageouts work.

diffstat:

 sys/arch/arm26/arm26/conf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf35fee8e594 -r e0ce0d8805c4 sys/arch/arm26/arm26/conf.c
--- a/sys/arch/arm26/arm26/conf.c       Tue Oct 16 20:40:45 2001 +0000
+++ b/sys/arch/arm26/arm26/conf.c       Tue Oct 16 23:58:29 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.6 2001/04/28 17:41:01 bjh21 Exp $ */
+/* $NetBSD: conf.c,v 1.7 2001/10/16 23:58:29 bjh21 Exp $ */
 /*-
  * Copyright (c) 1998, 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: conf.c,v 1.6 2001/04/28 17:41:01 bjh21 Exp $");
+__RCSID("$NetBSD: conf.c,v 1.7 2001/10/16 23:58:29 bjh21 Exp $");
 
 #include <sys/systm.h>
 #include <sys/buf.h>
@@ -144,7 +144,7 @@
  * confuse, e.g. the hashing routines. Instead, /dev/drum is
  * provided as a character (raw) device.
  */
-dev_t  swapdev = makedev(1, 0);
+dev_t  swapdev = makedev(0, 0);
 
 /*
  * Returns true if dev is /dev/mem or /dev/kmem.



Home | Main Index | Thread Index | Old Index