xtensa: make fixmap region addressing grow with index
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 14 Jul 2014 22:27:50 +0000 (02:27 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 14 Aug 2014 07:59:17 +0000 (11:59 +0400)
commit22def7681186f65f4f1256ae9b0b6db2a7720cb1
treefb80ce6465ab17c3f0b1ce87bed58e8ec9ffa78f
parent52247123749cc3cbc30168b33ad8c69515c96d23
xtensa: make fixmap region addressing grow with index

It's much easier to reason about alignment and coloring of regions
located in the fixmap when fixmap index is just a PFN within the fixmap
region. Change fixmap addressing so that index 0 corresponds to
FIXADDR_START instead of the FIXADDR_TOP.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/fixmap.h
arch/xtensa/mm/highmem.c