diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-03-09 23:11:26 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-03-16 10:56:10 +0100 |
commit | 1a8429132e1d2ada3832db5b4a0802c49affb750 (patch) | |
tree | 4653a5067340d1701596e1756651d59eca7b07b9 /kernel/module.c | |
parent | e05a959f4b9ae8d9693a8a7347d42d9e45edb3b6 (diff) | |
download | op-kernel-dev-1a8429132e1d2ada3832db5b4a0802c49affb750.zip op-kernel-dev-1a8429132e1d2ada3832db5b4a0802c49affb750.tar.gz |
mm: remove blackfin MPU support
The CONFIG_MPU option was only defined on blackfin, and that architecture
is now being removed, so the respective code can be simplified.
A lot of other microcontrollers have an MPU, but I suspect that if we
want to bring that support back, we'd do it differently anyway.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/module.c b/kernel/module.c index ad2d420..2c1df85 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -2181,10 +2181,6 @@ static void free_module(struct module *mod) /* Finally, free the core (containing the module structure) */ disable_ro_nx(&mod->core_layout); module_memfree(mod->core_layout.base); - -#ifdef CONFIG_MPU - update_protections(current->mm); -#endif } void *__symbol_get(const char *symbol) |