Skip to content

Commit 5dd0b16

Browse files
amlutoIngo Molnar
authored andcommitted
mm/vmstat: Make NR_TLB_REMOTE_FLUSH_RECEIVED available even on UP
This fixes CONFIG_SMP=n, CONFIG_DEBUG_TLBFLUSH=y without introducing further #ifdef soup. Caught by a Kbuild bot randconfig build. Signed-off-by: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: ce4a4e5 ("x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP code") Link: http://lkml.kernel.org/r/76da9a3cc4415996f2ad2c905b93414add322021.1496673616.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent d6e41f1 commit 5dd0b16

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/vm_event_item.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,8 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,
9393
#endif
9494
#endif
9595
#ifdef CONFIG_DEBUG_TLBFLUSH
96-
#ifdef CONFIG_SMP
9796
NR_TLB_REMOTE_FLUSH, /* cpu tried to flush others' tlbs */
9897
NR_TLB_REMOTE_FLUSH_RECEIVED,/* cpu received ipi for flush */
99-
#endif /* CONFIG_SMP */
10098
NR_TLB_LOCAL_FLUSH_ALL,
10199
NR_TLB_LOCAL_FLUSH_ONE,
102100
#endif /* CONFIG_DEBUG_TLBFLUSH */

0 commit comments

Comments
 (0)