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)
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>

No differences found