]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: use generic fixmap.h
authorMark Salter <msalter@redhat.com>
Fri, 3 Jan 2014 03:10:07 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:07 +0000 (14:10 +1100)
commite6a6811f0d2faba18a67239acc598dde40153c3f
treed590580f039fd43568f5da135c2f77feba1f67f9
parent63ff4f48f9e628333b69b386e336795eefa07e85
arm: use generic fixmap.h

ARM is different from other architectures in that fixmap pages are indexed
with a positive offset from FIXADDR_START.  Other architectures index with
a negative offset from FIXADDR_TOP.  In order to use the generic fixmap.h
definitions, this patch redefines FIXADDR_TOP to be inclusive of the
useable range.  That is, FIXADDR_TOP is the virtual address of the topmost
fixed page.  The newly defined FIXADDR_END is the first virtual address
past the fixed mappings.

Signed-off-by: Mark Salter <msalter@redhat.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm/include/asm/fixmap.h
arch/arm/mm/init.c