ANDROID: mm: build alloc_contig_dump_pages in page_alloc.o
GKI has CONFIG_DYNAMIC_DEBUG_CORE. Thus, to enable only the specific alloc_contig_dump_pages without needing all pr_debug in every source files is using -DCONFIG_DYNAMIC_MODULE when the page_alloc.o compiled. Bug: 182195592 Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: I93266eb4161b3653389c737d4c767fd5d1083339
This commit is contained in:
@@ -57,6 +57,7 @@ obj-y := filemap.o mempool.o oom_kill.o fadvise.o \
|
|||||||
# Give 'page_alloc' its own module-parameter namespace
|
# Give 'page_alloc' its own module-parameter namespace
|
||||||
page-alloc-y := page_alloc.o
|
page-alloc-y := page_alloc.o
|
||||||
page-alloc-$(CONFIG_SHUFFLE_PAGE_ALLOCATOR) += shuffle.o
|
page-alloc-$(CONFIG_SHUFFLE_PAGE_ALLOCATOR) += shuffle.o
|
||||||
|
CFLAGS_page_alloc.o += -DDYNAMIC_DEBUG_MODULE
|
||||||
|
|
||||||
obj-y += page-alloc.o
|
obj-y += page-alloc.o
|
||||||
obj-y += init-mm.o
|
obj-y += init-mm.o
|
||||||
|
Reference in New Issue
Block a user