[POWERPC] spufs: fix memory leak on coredump
authorArnd Bergmann <arnd.bergmann@de.ibm.com>
Mon, 23 Apr 2007 19:08:25 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:58 +0000 (21:18 +0200)
commit6cf2179202cf706471777ad6ee5d0377d5990ab7
treeabe3c27de753d66f23f9a297864ec57af245eee9
parentd3764397d07b1e03943edfdcc3fb77af7bdac02b
[POWERPC] spufs: fix memory leak on coredump

Dynamically allocated read/write buffer in spufs_arch_write_note() will
not be freed. Convert it to get_free_page at the same time.

Cc: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/coredump.c