[ammarfaizi2-block:akpm/mm/mm-unstable 101/170] mm/memory.c:68:10: fatal error: linux/memory-tiers.h: No such file or directory

From: kernel test robot
Date: Sat Aug 20 2022 - 06:28:50 EST


tree: https://github.com/ammarfaizi2/linux-block akpm/mm/mm-unstable
head: 1b745fa43c32e6a6ffb4d922114d75019830a9e2
commit: 71c09d5dbc03732b9f98485edc03c272e7e8a79c [101/170] memory-tiering-hot-page-selection-with-hint-page-fault-latency-fix.txt
config: arm-defconfig (https://download.01.org/0day-ci/archive/20220820/202208201850.nGhRnTHY-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/71c09d5dbc03732b9f98485edc03c272e7e8a79c
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block akpm/mm/mm-unstable
git checkout 71c09d5dbc03732b9f98485edc03c272e7e8a79c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Note: the ammarfaizi2-block/akpm/mm/mm-unstable HEAD 1b745fa43c32e6a6ffb4d922114d75019830a9e2 builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

>> mm/memory.c:68:10: fatal error: linux/memory-tiers.h: No such file or directory
68 | #include <linux/memory-tiers.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


vim +68 mm/memory.c

> 68 #include <linux/memory-tiers.h>
69 #include <linux/string.h>
70 #include <linux/debugfs.h>
71 #include <linux/userfaultfd_k.h>
72 #include <linux/dax.h>
73 #include <linux/oom.h>
74 #include <linux/numa.h>
75 #include <linux/perf_event.h>
76 #include <linux/ptrace.h>
77 #include <linux/vmalloc.h>
78 #include <linux/sched/sysctl.h>
79

--
0-DAY CI Kernel Test Service
https://01.org/lkp