tile: avoid struct vm_struct leak
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 7 Aug 2013 19:42:34 +0000 (15:42 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 20:26:25 +0000 (16:26 -0400)
commitfad052dc4be7b1d9e7ff40ccd8ba2b8216823b51
tree8c797b21480c322dab8542e8a5d851b014496c70
parent4a556f4f56da3110b27e265b79f0e7582115445c
tile: avoid struct vm_struct leak

If ioreamp_prot() fails in ioremap_page_range() due to kernel memory
exhaustion, we previously would leak a struct vm_struct.

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