arch/tile: check kmalloc() result
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 16 Jul 2010 16:13:02 +0000 (20:13 +0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 16 Jul 2010 17:37:14 +0000 (13:37 -0400)
commit1c689cbcf2c2b7a35cd237abddd9206bb1b6fee1
treec8c8cf60bf54e6e0c57488fcdc7f86e9e3aacd6c
parenta2262d8a231e92742651859a10c9a4430a5e899a
arch/tile: check kmalloc() result

If kmalloc() fails exit with -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/hardwall.c