arm64: assembler: Align phys_to_pte with pte_to_phys
authorWill Deacon <will.deacon@arm.com>
Mon, 29 Jan 2018 11:59:59 +0000 (11:59 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:53:25 +0000 (22:53 +0000)
commit79ddab3b05ca903f552fd5bf920efa055210322b
treed90a4fd72906039f62177ba4f1707afbc01b97ae
parentf167211a93ac41a65b7a0ab79d4479d0fb58c4f1
arm64: assembler: Align phys_to_pte with pte_to_phys

pte_to_phys lives in assembler.h and takes its destination register as
the first argument. Move phys_to_pte out of head.S to sit with its
counterpart and rejig it to follow the same calling convention.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/assembler.h
arch/arm64/kernel/head.S