Module Name: src
Committed By: martin
Date: Fri Jul 4 07:51:14 UTC 2014
Modified Files:
src/sys/arch/playstation2/playstation2: bus_space.c
Log Message:
Fix extent_create() call
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/playstation2/playstation2/bus_space.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/playstation2/playstation2/bus_space.c
diff -u src/sys/arch/playstation2/playstation2/bus_space.c:1.9 src/sys/arch/playstation2/playstation2/bus_space.c:1.10
--- src/sys/arch/playstation2/playstation2/bus_space.c:1.9 Mon Mar 31 11:25:49 2014
+++ src/sys/arch/playstation2/playstation2/bus_space.c Fri Jul 4 07:51:14 2014
@@ -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 @@ bus_space_create(bus_space_tag_t t, cons
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);