]> git.karo-electronics.de Git - linux-beck.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)
commit4221e2e6b3160e4b558df14fa79f025c0e277935
tree35a6bed487f7ab9ddaa557eb9f447bbaec8824ca
parent16c79a3776c17965dedab4732d925f6098df91c1
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