arch/tile: fix double-free bug in homecache_free_pages()
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 1 Dec 2011 17:51:05 +0000 (12:51 -0500)
committerChris Metcalf <cmetcalf@tilera.com>
Sat, 3 Dec 2011 20:31:47 +0000 (15:31 -0500)
commitc2851a9b1caa420c2cdbd517617166990e3723c0
treebd888b6b0451f96b58c41dd9d8b1b25f4d362587
parent3989efb77046ad334518b6cddcf817184affe7c9
arch/tile: fix double-free bug in homecache_free_pages()

When freeing the page with this API, the page was "put" twice.
This was only discovered bringing up an MPT fusion controller, which
actually used the API; it hadn't been invoked previously, so the bug
had gone unnoticed.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/mm/homecache.c