]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa3dd8fe880e3c8c596be7164c764a36ccbe1c8c
treea4e7541f35763b1767b380d1b4cc526e76ed0d01
parentd684656a35b7e2875bdbd01399ee676b7c8e8eb4
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