Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79704243 authored by Mark Salter's avatar Mark Salter Committed by Venkatesh Yadav Abbarapu
Browse files

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.

Change-Id: If76f8fd5b9e7e244155eecd76bd9cae40b3b15f0
Signed-off-by: default avatarMark Salter <msalter@redhat.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Git-commit: 1ff4afb4bb09f43a5da75c854af82198eb4aacb5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git


Signed-off-by: default avatarVenkatesh Yadav Abbarapu <vabbar@codeaurora.org>
parent 870a4ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment