ARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and FIX_KMAP_END
authorLiu Hua <[email protected]>
Fri, 18 Apr 2014 08:27:01 +0000 (09:27 +0100)
committerRussell King <[email protected]>
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 <[email protected]>
Signed-off-by: Liu Hua <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/include/asm/fixmap.h
arch/arm/mm/highmem.c