Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/ttm Pull up following revision(s) (...
details: https://anonhg.NetBSD.org/src/rev/fca53217304b
branches: netbsd-7
changeset: 799513:fca53217304b
user: snj <snj%NetBSD.org@localhost>
date: Thu Jul 30 15:41:44 2015 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #903):
sys/external/bsd/drm2/ttm/ttm_agp_backend.c: revision 1.4
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 4e726b10d9d1 -r fca53217304b sys/external/bsd/drm2/ttm/ttm_agp_backend.c
--- a/sys/external/bsd/drm2/ttm/ttm_agp_backend.c Thu Jul 30 15:40:14 2015 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_agp_backend.c Thu Jul 30 15:41:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_agp_backend.c,v 1.1.4.1 2014/08/15 11:11:59 martin Exp $ */
+/* $NetBSD: ttm_agp_backend.c,v 1.1.4.2 2015/07/30 15:41:44 snj 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.1.4.1 2014/08/15 11:11:59 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_agp_backend.c,v 1.1.4.2 2015/07/30 15:41:44 snj 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