]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8238/1: mm: Refine set_memory_* functions
authorJungseung Lee <js07.lee@gmail.com>
Sat, 29 Nov 2014 02:02:11 +0000 (03:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Dec 2014 16:00:05 +0000 (16:00 +0000)
commit7679622164a5eadbb9e7a95f8c597e0c182ee911
tree247b20f6c8b42bf3dc5fc9aeaa0ff52af96f5e6c
parent101da2a82a88fa493ee1946c2c04cba5402ebcc3
ARM: 8238/1: mm: Refine set_memory_* functions

set_memory_* functions have same implementation
except memory attribute.

This patch makes to use common function for these, and pull out
the functions into arch/arm/mm/pageattr.c like arm64 did.
It will reduce code size and enhance the readability.

Signed-off-by: Jungseung Lee <js07.lee@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Makefile
arch/arm/mm/mmu.c
arch/arm/mm/pageattr.c [new file with mode: 0644]