Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/ttm kmem_free the container structure, ...
details: https://anonhg.NetBSD.org/src/rev/7d7289753469
branches: trunk
changeset: 337737:7d7289753469
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Apr 25 21:00:29 2015 +0000
description:
kmem_free the container structure, not a substructure.
diffstat:
sys/external/bsd/drm2/ttm/ttm_agp_backend.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 68da1fd2697f -r 7d7289753469 sys/external/bsd/drm2/ttm/ttm_agp_backend.c
--- a/sys/external/bsd/drm2/ttm/ttm_agp_backend.c Sat Apr 25 20:50:04 2015 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_agp_backend.c Sat Apr 25 21:00:29 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_agp_backend.c,v 1.3 2014/08/14 16:50:22 riastradh Exp $ */
+/* $NetBSD: ttm_agp_backend.c,v 1.4 2015/04/25 21:00:29 riastradh Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_agp_backend.c,v 1.3 2014/08/14 16:50:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_agp_backend.c,v 1.4 2015/04/25 21:00:29 riastradh Exp $");
#include <sys/types.h>
#include <sys/kmem.h>
@@ -156,7 +156,7 @@
if (ttm_agp->bound)
ttm_agp_unbind(ttm);
ttm_tt_fini(ttm);
- kmem_free(ttm, sizeof(*ttm));
+ kmem_free(ttm_agp, sizeof(*ttm_agp));
}
static const struct ttm_backend_func ttm_agp_backend_func = {
Home |
Main Index |
Thread Index |
Old Index