]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7b4b425897cd582897ccc38b637ce7ab5ffc5593
tree7170fb95137d73487fe8be5f97b40be055c39862
parent5017335d6d8c1fc3bbc04f80785440885f305879
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