]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/sh/kernel/dwarf.c: destroy mempools on cleanup
authorDavid Rientjes <rientjes@google.com>
Tue, 7 Apr 2015 23:43:50 +0000 (09:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 7 Apr 2015 23:43:50 +0000 (09:43 +1000)
commit98d28cba267af81026f89dbf53d3f42fba19d07f
treebdfe7cd0a76fb8b53ffc20a2c7dd4bb8a4940e44
parentd539653617f107f8ff0b33b3b546f0920537e9e3
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>
arch/sh/kernel/dwarf.c