Re: include/asm-generic/percpu.h:31:40: error: implicit declaration of function 'raw_smp_processor_id'

From: Philip Li
Date: Sat May 25 2024 - 04:08:54 EST


On Fri, May 24, 2024 at 11:58:30AM -0400, Kent Overstreet wrote:
> On Tue, May 21, 2024 at 12:31:18AM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: eb6a9339efeb6f3d2b5c86fdf2382cdc293eca2c
> > commit: 24e44cc22aa3112082f2ee23137d048c73ca96d5 mm: percpu: enable per-cpu allocation tagging
> > date: 4 weeks ago
> > config: mips-randconfig-r133-20240520 (https://download.01.org/0day-ci/archive/20240521/202405210052.DIrMXJNz-lkp@xxxxxxxxx/config)
> > compiler: mips-linux-gcc (GCC) 13.2.0
> > reproduce: (https://download.01.org/0day-ci/archive/20240521/202405210052.DIrMXJNz-lkp@xxxxxxxxx/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202405210052.DIrMXJNz-lkp@xxxxxxxxx/
>
> I have a fix I'm testing for this but it's going to need a lot of
> randconfig build testing on all archs.
>
> Philip, could 0day help out with that? I don't know how you schedule

Got it, we will cover this branch with randconfig build tests.

> which branches for which testing, and previously the memory allocation
> profiling didn't get enough build testing before Andrew merged it.

Sorry about this, we really need extend the test number to generate
more randconfigs.

>
> Running my own build testing now, of course...
>
> https://evilpiepirate.org/git/bcachefs.git fix_missing_include