diff options
author | 2017-11-13 17:10:13 -0800 | |
---|---|---|
committer | 2017-11-13 17:10:13 -0800 | |
commit | c25141062a82ae8bddced1b3ce2b57a1c0efabe0 (patch) | |
tree | 105edf10059bc0c4f2f00338b0c861b813d1bb1a /mm/debug.c | |
parent | Input: synaptics-rmi4 - RMI4 can also use SMBUS version 3 (diff) | |
parent | Input: gamecon - mark expected switch fall-throughs (diff) | |
download | wireguard-linux-c25141062a82ae8bddced1b3ce2b57a1c0efabe0.tar.xz wireguard-linux-c25141062a82ae8bddced1b3ce2b57a1c0efabe0.zip |
Merge branch 'next' into for-linus
Prepare input updates for 4.15 merge window.
Diffstat (limited to 'mm/debug.c')
-rw-r--r-- | mm/debug.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mm/debug.c b/mm/debug.c index db1cd26d8752..6726bec731c9 100644 --- a/mm/debug.c +++ b/mm/debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * mm/debug.c * @@ -124,9 +125,7 @@ void dump_mm(const struct mm_struct *mm) #ifdef CONFIG_NUMA_BALANCING "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" -#endif "def_flags: %#lx(%pGv)\n", mm, mm->mmap, mm->vmacache_seqnum, mm->task_size, @@ -158,9 +157,7 @@ void dump_mm(const struct mm_struct *mm) #ifdef CONFIG_NUMA_BALANCING mm->numa_next_scan, mm->numa_scan_offset, mm->numa_scan_seq, #endif -#if defined(CONFIG_NUMA_BALANCING) || defined(CONFIG_COMPACTION) - mm->tlb_flush_pending, -#endif + atomic_read(&mm->tlb_flush_pending), mm->def_flags, &mm->def_flags ); } |