kbuild test robot writes:
mm/memcontrol.c: In function 'memory_stat_show':
mm/memcontrol.c:5629:52: error: 'THP_FAULT_ALLOC' undeclared (first use in this function)
seq_printf(m, "thp_fault_alloc %lu\n", acc.events[THP_FAULT_ALLOC]);
^
mm/memcontrol.c:5629:52: note: each undeclared identifier is reported only once for each function it appears in
mm/memcontrol.c:5631:17: error: 'THP_COLLAPSE_ALLOC' undeclared (first use in this function)
acc.events[THP_COLLAPSE_ALLOC]);
Oh, right. Now that we don't define these for ourselves in memcontrol.h any
more and just use the VM definitions, they also need to go in an #ifdef.
Apologies for the noise, I'll add a fixup to guard these in a bit.