irq: fix cpumask memory leak on offstack cpumask kernels
authorYinghai Lu <yinghai@kernel.org>
Tue, 31 Mar 2009 03:37:20 +0000 (20:37 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Apr 2009 17:14:44 +0000 (19:14 +0200)
commit9756b15e1b58453a6fd54b85c1ad8515209e10bb
tree1b6ba55e845bbd07460c0c4e061641564b9a69b2
parent8fe74cf053de7ad2124a894996f84fa890a81093
irq: fix cpumask memory leak on offstack cpumask kernels

Need to free the old cpumask for affinity and pending_mask.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <49D18FF0.50707@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/irq.h
kernel/irq/numa_migrate.c