powerpc/viobus: Free TCE table on device release
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 15 Sep 2010 08:05:48 +0000 (08:05 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 13 Oct 2010 05:19:21 +0000 (16:19 +1100)
commit45848e0fc1fce399651b3f480bdeb82cc6d3d15a
tree72bbf790385b305be750ce0cab4e36ceee07913f
parentedea8f6f48416d9a6fd1babb76c19cf05c802325
powerpc/viobus: Free TCE table on device release

Release the TCE table as the XXX suggests, except on FW_FEATURE_ISERIES,
where the tables are allocated globally and reused.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c