Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen kmem_free() the appropriate size.
details: https://anonhg.NetBSD.org/src/rev/d5cc33e3829b
branches: trunk
changeset: 771914:d5cc33e3829b
user: cherry <cherry%NetBSD.org@localhost>
date: Thu Dec 08 03:34:44 2011 +0000
description:
kmem_free() the appropriate size.
Thanks cegger@
diffstat:
sys/arch/xen/xen/evtchn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2cf7333a465b -r d5cc33e3829b sys/arch/xen/xen/evtchn.c
--- a/sys/arch/xen/xen/evtchn.c Thu Dec 08 02:27:14 2011 +0000
+++ b/sys/arch/xen/xen/evtchn.c Thu Dec 08 03:34:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: evtchn.c,v 1.60 2011/12/07 16:26:23 cegger Exp $ */
+/* $NetBSD: evtchn.c,v 1.61 2011/12/08 03:34:44 cherry Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -54,7 +54,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.60 2011/12/07 16:26:23 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: evtchn.c,v 1.61 2011/12/08 03:34:44 cherry Exp $");
#include "opt_xen.h"
#include "isa.h"
@@ -795,7 +795,7 @@
if (ih == NULL)
panic("event_remove_handler");
*ihp = ih->ih_ipl_next;
- kmem_free(ih, sizeof (struct iplsource));
+ kmem_free(ih, sizeof (struct intrhand));
if (evts->ev_handlers == NULL) {
xen_atomic_clear_bit(&ci->ci_evtmask[0], evtch);
evcnt_detach(&evts->ev_evcnt);
Home |
Main Index |
Thread Index |
Old Index