Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 Use kmem(9) instead of malloc(9).
details: https://anonhg.NetBSD.org/src/rev/d5f2ca0db108
branches: trunk
changeset: 754847:d5f2ca0db108
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Fri May 14 12:10:07 2010 +0000
description:
Use kmem(9) instead of malloc(9).
diffstat:
sys/dev/ieee1394/fwdev.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a12cc64b4cdb -r d5f2ca0db108 sys/dev/ieee1394/fwdev.c
--- a/sys/dev/ieee1394/fwdev.c Fri May 14 12:02:23 2010 +0000
+++ b/sys/dev/ieee1394/fwdev.c Fri May 14 12:10:07 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwdev.c,v 1.20 2010/05/10 12:17:32 kiyohara Exp $ */
+/* $NetBSD: fwdev.c,v 1.21 2010/05/14 12:10:07 kiyohara Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.20 2010/05/10 12:17:32 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwdev.c,v 1.21 2010/05/14 12:10:07 kiyohara Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -654,7 +654,7 @@
err = copyout(ptr, crom_buf->ptr, len);
if (fwdev == NULL)
/* myself */
- free(ptr, M_FW);
+ kmem_free(ptr, CROMSIZE);
break;
default:
Home |
Main Index |
Thread Index |
Old Index