]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Factor out fixmap initialization from ioremap
authorLaura Abbott <lauraa@codeaurora.org>
Fri, 21 Nov 2014 21:50:42 +0000 (21:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 25 Nov 2014 15:56:45 +0000 (15:56 +0000)
commit993c7154f48455f2eb6368efe977bf44182c6e83
treed54b723cca997e7e291ed7b7a94fde0834ea81bf
parent2a1f30e32f9de6cf50925bd07c7c19af71b22674
arm64: Factor out fixmap initialization from ioremap

The fixmap API was originally added for arm64 for
early_ioremap purposes. It can be used for other purposes too
so move the initialization from ioremap to somewhere more
generic. This makes it obvious where the fixmap is being set
up and allows for a cleaner implementation of __set_fixmap.

Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/fixmap.h
arch/arm64/kernel/setup.c
arch/arm64/mm/ioremap.c
arch/arm64/mm/mmu.c