summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-08-21 11:30:16 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-08-21 15:55:52 +0300
commit3c2aed5b28819564e1a07b4686bd89802bcc4d6b (patch)
tree063a2dd93a675eb5352433b9f381f1fc5313bf64 /arch/arm/kernel/traps.c
parent0171356a7708af01ad3224702b7f0aaa5b7a1399 (diff)
downloadlinux-3c2aed5b28819564e1a07b4686bd89802bcc4d6b.tar.xz
ARM: domains: get rid of manager mode for user domain
Since we switched to early trap initialisation in 94e5a85b3be0 ("ARM: earlier initialization of vectors page") we haven't been writing directly to the vectors page, and so there's no need for this domain to be in manager mode. Switch it to client mode. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r--arch/arm/kernel/traps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index d358226236f2..969f9d9e665f 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -870,7 +870,6 @@ void __init early_trap_init(void *vectors_base)
kuser_init(vectors_base);
flush_icache_range(vectors, vectors + PAGE_SIZE * 2);
- modify_domain(DOMAIN_USER, DOMAIN_CLIENT);
#else /* ifndef CONFIG_CPU_V7M */
/*
* on V7-M there is no need to copy the vector table to a dedicated