forked from luck/tmp_suning_uos_patched
mm: move lib/ioremap.c to mm/
The functionality in lib/ioremap.c deals with pagetables, vmalloc and caches, so it naturally belongs to mm/ Moving it there will also allow declaring p?d_alloc_track functions in an header file inside mm/ rather than having those declarations in include/linux/mm.h Suggested-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Pekka Enberg <penberg@kernel.org> Cc: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Joerg Roedel <joro@8bytes.org> Cc: Joerg Roedel <jroedel@suse.de> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com> Cc: Stafford Horne <shorne@gmail.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Matthew Wilcox <willy@infradead.org> Link: http://lkml.kernel.org/r/20200627143453.31835-8-rppt@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f9cb654cb5
commit
ab05eabfa1
|
@ -37,7 +37,6 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
|
||||||
nmi_backtrace.o nodemask.o win_minmax.o memcat_p.o
|
nmi_backtrace.o nodemask.o win_minmax.o memcat_p.o
|
||||||
|
|
||||||
lib-$(CONFIG_PRINTK) += dump_stack.o
|
lib-$(CONFIG_PRINTK) += dump_stack.o
|
||||||
lib-$(CONFIG_MMU) += ioremap.o
|
|
||||||
lib-$(CONFIG_SMP) += cpumask.o
|
lib-$(CONFIG_SMP) += cpumask.o
|
||||||
|
|
||||||
lib-y += kobject.o klist.o
|
lib-y += kobject.o klist.o
|
||||||
|
|
|
@ -38,7 +38,7 @@ mmu-y := nommu.o
|
||||||
mmu-$(CONFIG_MMU) := highmem.o memory.o mincore.o \
|
mmu-$(CONFIG_MMU) := highmem.o memory.o mincore.o \
|
||||||
mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
|
mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
|
||||||
msync.o page_vma_mapped.o pagewalk.o \
|
msync.o page_vma_mapped.o pagewalk.o \
|
||||||
pgtable-generic.o rmap.o vmalloc.o
|
pgtable-generic.o rmap.o vmalloc.o ioremap.o
|
||||||
|
|
||||||
|
|
||||||
ifdef CONFIG_CROSS_MEMORY_ATTACH
|
ifdef CONFIG_CROSS_MEMORY_ATTACH
|
||||||
|
|
Loading…
Reference in New Issue
Block a user