tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210129-103224/Steven-Ro...
head: c140cea32477ff764802c34df91fd920fee36903
commit: c140cea32477ff764802c34df91fd920fee36903 x86/mm: Tracking linear mapping split
events
date: 13 days ago
config: i386-randconfig-a003-20210209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/0day-ci/linux/commit/c140cea32477ff764802c34df91fd920f...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210129-103224/Steven-Rostedt/sched-tracing-Reset-critical-timings-on-scheduling/20210129-032839
git checkout c140cea32477ff764802c34df91fd920fee36903
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/mm/pat/set_memory.c:90:6: warning: no previous prototype for
'update_split_page_event_count' [-Wmissing-prototypes]
90 | void update_split_page_event_count(int level)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/mm/pat/set_memory.c: In function 'update_split_page_event_count':
arch/x86/mm/pat/set_memory.c:95:19: error: 'DIRECT_MAP_2M_SPLIT' undeclared
(first use in this function)
95 | count_vm_event(DIRECT_MAP_2M_SPLIT);
| ^~~~~~~~~~~~~~~~~~~
arch/x86/mm/pat/set_memory.c:95:19: note: each undeclared identifier is reported only
once for each function it appears in
> arch/x86/mm/pat/set_memory.c:100:19: error:
'DIRECT_MAP_1G_SPLIT' undeclared (first use in this function)
100 |
count_vm_event(DIRECT_MAP_1G_SPLIT);
| ^~~~~~~~~~~~~~~~~~~
vim +/DIRECT_MAP_1G_SPLIT +100 arch/x86/mm/pat/set_memory.c
89
90 void update_split_page_event_count(int level)
91 {
92 if (system_state == SYSTEM_RUNNING) {
93 if (level == PG_LEVEL_2M) {
94 #if defined(CONFIG_X86_64) || defined(CONFIG_X86_PAE)
95 count_vm_event(DIRECT_MAP_2M_SPLIT);
96 #else
97 count_vm_event(DIRECT_MAP_4M_SPLIT);
98 #endif
99 } else if (level == PG_LEVEL_1G) {
100 count_vm_event(DIRECT_MAP_1G_SPLIT);
101 }
102 }
103 }
104
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org