]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and FIX_KMAP_END
authorLiu Hua <sdu.liu@huawei.com>
Fri, 18 Apr 2014 08:27:01 +0000 (09:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Apr 2014 10:09:27 +0000 (11:09 +0100)
commitc5708b1463ea74b1b62928e2dc62c6ca68c7aa53
tree35a6bed487f7ab9ddaa557eb9f447bbaec8824ca
parent2d529f53b55acbbb3c2b0ff2fe332f310f583bbe
ARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and FIX_KMAP_END

It seems that these two macros are not used by non architecture
specific code. And on ARM FIX_KMAP_BEGIN equals zero.

This patch removes these two macros. Instead, using FIX_KMAP_NR_PTES to
tell the pte number belonged to fixmap mapping region. The code will
become clearer when I introduce a bugfix on fixmap mapping region.

Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Liu Hua <sdu.liu@huawei.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/fixmap.h
arch/arm/mm/highmem.c