Messages in this thread Patch in this message | | | From | Sasha Levin <> | Subject | [PATCH] mm: build error in dump_mm without CONFIG_COMPACTION | Date | Mon, 22 Sep 2014 22:54:15 -0400 |
| |
In the case of CONFIG_NUMA_BALANCING set and CONFIG_COMPACTION isn't, we'd fail to put a "," at the end of the formatting string and cause a build failure.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com> --- mm/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/debug.c b/mm/debug.c index 544d8f6..8fbc417 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -192,9 +192,9 @@ void dump_mm(const struct mm_struct *mm) "numa_next_scan %lu numa_scan_offset %lu numa_scan_seq %d\n" #endif #if defined(CONFIG_NUMA_BALANCING) || defined(CONFIG_COMPACTION) - "tlb_flush_pending %d\n", + "tlb_flush_pending %d\n" #endif - mm, mm->mmap, mm->vmacache_seqnum, mm->task_size, + , mm, mm->mmap, mm->vmacache_seqnum, mm->task_size, #ifdef CONFIG_MMU mm->get_unmapped_area, #endif -- 1.7.10.4
| |