mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
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>
This commit is contained in:
parent
e05a959f4b
commit
1a8429132e
2 changed files with 0 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue