OSDN Git Service

ARM: 8756/1: NOMMU: Postpone MPU activation till __after_proc_init
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 3 Apr 2018 09:38:37 +0000 (10:38 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 19 May 2018 10:53:46 +0000 (11:53 +0100)
commit3c24121039c9da14692eb48f6e39565b28c0f3cf
tree7bb35a00d60b3147664be68df33c0055ae550612
parent22893aa22b3cc89f12e1f80585c399f392f0a27a
ARM: 8756/1: NOMMU: Postpone MPU activation till __after_proc_init

This patch postpone MPU activation till __after_proc_init (which is
placed in .text section) rather than doing it in __setup_mpu. It
allows us ignore used-only-once .head.text section while programming
PMSAv8 MPU (for PMSAv7 it stays covered anyway).

Tested-by: Szemz? AndrĂ¡s <sza@esh.hu>
Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/head-nommu.S