All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/mm/pat/set_memory.c:97:19: error: 'DIRECT_MAP_4M_SPLIT' undeclared
@ 2021-01-28 10:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-28 10:25 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2600 bytes --]

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20210128-161902/Steven-Rostedt/sched-tracing-Reset-critical-timings-on-scheduling/20210128-125618
head:   18d35c61d918430472f61aaa3bcca10c30c2ce70
commit: 18d35c61d918430472f61aaa3bcca10c30c2ce70 x86/mm: Tracking linear mapping split events
date:   2 hours ago
config: i386-randconfig-m021-20210128 (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/18d35c61d918430472f61aaa3bcca10c30c2ce70
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20210128-161902/Steven-Rostedt/sched-tracing-Reset-critical-timings-on-scheduling/20210128-125618
        git checkout 18d35c61d918430472f61aaa3bcca10c30c2ce70
        # 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@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:97:19: error: 'DIRECT_MAP_4M_SPLIT' undeclared (first use in this function)
      97 |    count_vm_event(DIRECT_MAP_4M_SPLIT);
         |                   ^~~~~~~~~~~~~~~~~~~
   arch/x86/mm/pat/set_memory.c:97: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_4M_SPLIT +97 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34439 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-28 10:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 10:25 arch/x86/mm/pat/set_memory.c:97:19: error: 'DIRECT_MAP_4M_SPLIT' undeclared kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.