From: Akinobu Mita Date: Mon, 23 Apr 2007 19:08:20 +0000 (+0200) Subject: [POWERPC] spufs: fix memory leak on spufs reloading X-Git-Tag: v2.6.22-rc1~1109^2~72^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db1384b40d12eda6910513ff429ad90453ca49e1;p=pandora-kernel.git [POWERPC] spufs: fix memory leak on spufs reloading When SPU isolation mode enabled, isolated_loader would be allocated by spufs_init_isolated_loader() on module_init(). But anyone do not free it. This patch introduces spufs_exit_isolated_loader() which is the opposite of spufs_init_isolated_loader() and called on module_exit(). Cc: Arnd Bergmann Signed-off-by: Akinobu Mita Signed-off-by: Christoph Hellwig Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed