Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/playstation2/playstation2 Fix extent_create() call
details: https://anonhg.NetBSD.org/src/rev/041ec992ffea
branches: trunk
changeset: 330303:041ec992ffea
user: martin <martin%NetBSD.org@localhost>
date: Fri Jul 04 07:51:14 2014 +0000
description:
Fix extent_create() call
diffstat:
sys/arch/playstation2/playstation2/bus_space.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 29ba27950d83 -r 041ec992ffea sys/arch/playstation2/playstation2/bus_space.c
--- a/sys/arch/playstation2/playstation2/bus_space.c Fri Jul 04 07:27:57 2014 +0000
+++ b/sys/arch/playstation2/playstation2/bus_space.c Fri Jul 04 07:51:14 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.9 2014/03/31 11:25:49 martin Exp $ */
+/* $NetBSD: bus_space.c,v 1.10 2014/07/04 07:51:14 martin Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.9 2014/03/31 11:25:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space.c,v 1.10 2014/07/04 07:51:14 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -166,7 +166,7 @@
pbs->pbs_base_addr = addr; /* no extent */
} else {
pbs->pbs_extent = extent_create(name, addr, addr + size - 1,
- M_DEVBUF, 0, 0, EX_NOWAIT);
+ 0, 0, EX_NOWAIT);
if (pbs->pbs_extent == 0) {
panic("%s:: unable to create bus_space for "
"0x%08lx-%#lx", __func__, addr, size);
Home |
Main Index |
Thread Index |
Old Index