arm64: kernel: Move config_sctlr_el1
authorJames Morse <james.morse@arm.com>
Tue, 21 Jul 2015 12:23:27 +0000 (13:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:41 +0000 (11:08 +0100)
commit870828e57b141eff76a5325f20e4691dd2a599b1
tree68b660c89ce5b145a726fb674662024936e7a870
parentfc032421ef4a825660fcc4d11672bc2dea202893
arm64: kernel: Move config_sctlr_el1

Later patches need config_sctlr_el1 to set/clear bits in the sctlr_el1
register.

This patch moves this function into header a file.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cputype.h
arch/arm64/include/asm/sysreg.h
arch/arm64/kernel/armv8_deprecated.c