ARM: 7168/1: use cache type functions for arch_get_unmapped_area
authorRob Herring <rob.herring@calxeda.com>
Tue, 22 Nov 2011 03:01:06 +0000 (04:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Nov 2011 21:58:52 +0000 (21:58 +0000)
commit41dfaa934c5d866d626de9bea785e6168524a47e
treea4e7541f35763b1767b380d1b4cc526e76ed0d01
parent7334c6755eb7dbaa5d3112a33f5f2cb9826abe8c
ARM: 7168/1: use cache type functions for arch_get_unmapped_area

There are already cache type decoding functions, so use those instead
of custom decode code which only works for ARMv6.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmap.c