Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/dev the storagesize parameter of extent_create...
details: https://anonhg.NetBSD.org/src/rev/d2b18a72da7b
branches: trunk
changeset: 554729:d2b18a72da7b
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Nov 01 12:21:14 2003 +0000
description:
the storagesize parameter of extent_create() is a size_t, not a pointer
diffstat:
sys/arch/x68k/dev/intio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 68fb947bfef5 -r d2b18a72da7b sys/arch/x68k/dev/intio.c
--- a/sys/arch/x68k/dev/intio.c Sat Nov 01 12:18:55 2003 +0000
+++ b/sys/arch/x68k/dev/intio.c Sat Nov 01 12:21:14 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intio.c,v 1.21 2003/10/05 02:00:16 nsmrtks Exp $ */
+/* $NetBSD: intio.c,v 1.22 2003/11/01 12:21:14 jdolecek Exp $ */
/*-
* Copyright (c) 1998 NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.21 2003/10/05 02:00:16 nsmrtks Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.22 2003/11/01 12:21:14 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -200,7 +200,7 @@
sc->sc_map = extent_create("intiomap",
PHYS_INTIODEV,
PHYS_INTIODEV + 0x400000,
- M_DEVBUF, NULL, NULL, EX_NOWAIT);
+ M_DEVBUF, NULL, 0, EX_NOWAIT);
intio_alloc_system_ports (sc);
sc->sc_bst = &intio_bus;
Home |
Main Index |
Thread Index |
Old Index