diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-20 13:34:28 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-13 00:22:30 -0400 |
commit | 68937c555ebcaa922e50cf7d91e0b56521c9fc01 (patch) | |
tree | ea0967580b22047abff1c37ff921e8955e76c5ac | |
parent | fffc0366cc740453010624ecd67663c0fe2e3e96 (diff) |
mm: Move lib/show_mem.c to mm/
show_mem.c is really mm specific, and the next patch in the series is
going to require mm/slab.h, so let's move it before doing more work on
it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | lib/Makefile | 2 | ||||
-rw-r--r-- | mm/Makefile | 2 | ||||
-rw-r--r-- | mm/show_mem.c (renamed from lib/show_mem.c) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile index fd13ca6e0eee..5a8c6cd2fd7d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -30,7 +30,7 @@ endif lib-y := ctype.o string.o vsprintf.o cmdline.o \ rbtree.o radix-tree.o timerqueue.o xarray.o \ maple_tree.o idr.o extable.o irq_regs.o argv_split.o \ - flex_proportions.o ratelimit.o show_mem.o \ + flex_proportions.o ratelimit.o \ is_single_threaded.o plist.o decompress.o kobject_uevent.o \ earlycpio.o seq_buf.o siphash.o dec_and_lock.o \ nmi_backtrace.o win_minmax.o memcat_p.o \ diff --git a/mm/Makefile b/mm/Makefile index 8e105e5b3e29..c03e1e5859ff 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -54,7 +54,7 @@ obj-y := filemap.o mempool.o oom_kill.o fadvise.o \ mm_init.o percpu.o slab_common.o \ compaction.o \ interval_tree.o list_lru.o workingset.o \ - debug.o gup.o mmap_lock.o $(mmu-y) + debug.o gup.o mmap_lock.o show_mem.o $(mmu-y) # Give 'page_alloc' its own module-parameter namespace page-alloc-y := page_alloc.o diff --git a/lib/show_mem.c b/mm/show_mem.c index 0d7585cde2a6..0d7585cde2a6 100644 --- a/lib/show_mem.c +++ b/mm/show_mem.c |