diff options
author | Jungseung Lee <js07.lee@gmail.com> | 2014-11-29 03:02:11 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-12-03 16:00:05 +0000 |
commit | 4e802cfd74e6351cb937997996de9ca2e67df9f2 (patch) | |
tree | 247b20f6c8b42bf3dc5fc9aeaa0ff52af96f5e6c /arch/arm/mm/Makefile | |
parent | 12e669b4874274caaefd20d3c729471b8ebe8d93 (diff) | |
download | op-kernel-dev-4e802cfd74e6351cb937997996de9ca2e67df9f2.zip op-kernel-dev-4e802cfd74e6351cb937997996de9ca2e67df9f2.tar.gz |
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>
Diffstat (limited to 'arch/arm/mm/Makefile')
-rw-r--r-- | arch/arm/mm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index 91da64d..d3afdf9 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile @@ -6,7 +6,7 @@ obj-y := dma-mapping.o extable.o fault.o init.o \ iomap.o obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \ - mmap.o pgd.o mmu.o + mmap.o pgd.o mmu.o pageattr.o ifneq ($(CONFIG_MMU),y) obj-y += nommu.o |