]> git.baikalelectronics.ru Git - kernel.git/commit
arch/sh/kernel/dwarf.c: destroy mempools on cleanup
authorDavid Rientjes <rientjes@google.com>
Tue, 14 Apr 2015 22:42:37 +0000 (15:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Apr 2015 23:48:56 +0000 (16:48 -0700)
commitb9cfd623e785bb818b4829d7e8c4c028cabf59a8
tree7170fb95137d73487fe8be5f97b40be055c39862
parent090bf674df466f9f4669b00ca8d96ca058c0bd34
arch/sh/kernel/dwarf.c: destroy mempools on cleanup

dwarf_reg_pool and dwarf_frame_pool are not properly destroyed when
cleaning up the dwarf unwinder.  Destroy them with mempool_destroy().

Also mark dwarf_unwinder_cleanup() as __init.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/kernel/dwarf.c