All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:irqflags 18/22] arch/mips/include/asm/processor.h:252:9: error: unknown type name 'cpumask_t'
Date: Sat, 05 Sep 2026 18:10:01 +0800	[thread overview]
Message-ID: <202609051820.rkRdnwdG-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irqflags
head:   60735555f9a14d6c3e0a576e9ea7bcdb883ce747
commit: 882f996705954c7f6847b915286bbd3d437c3bc7 [18/22] irqflags: Provide refcounted local_irq_*() variants
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20260905/202609051820.rkRdnwdG-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609051820.rkRdnwdG-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609051820.rkRdnwdG-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/mips/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:62,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/mips/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:109,
                    from include/linux/irqflags.h:16,
                    from arch/mips/include/asm/atomic.h:17,
                    from include/linux/atomic.h:7,
                    from include/linux/cpumask.h:10,
                    from include/linux/smp.h:13,
                    from arch/mips/include/asm/cpu-type.h:12,
                    from arch/mips/include/asm/timex.h:19,
                    from include/linux/timex.h:67,
                    from include/linux/time32.h:13,
                    from include/linux/time.h:60,
                    from include/linux/compat.h:10,
                    from arch/mips/kernel/asm-offsets.c:14:
>> arch/mips/include/asm/processor.h:252:9: error: unknown type name 'cpumask_t'
     252 |         cpumask_t user_cpus_allowed;
         |         ^~~~~~~~~
   include/linux/irqflags.h: In function 'raw_safe_halt':
   include/linux/irqflags.h:299:9: error: implicit declaration of function 'arch_safe_halt'; did you mean 'raw_safe_halt'? [-Wimplicit-function-declaration]
     299 |         arch_safe_halt();
         |         ^~~~~~~~~~~~~~
         |         raw_safe_halt
   make[3]: *** [scripts/Makefile.build:185: arch/mips/kernel/asm-offsets.s] Error 1
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1425: prepare0] Error 2
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +/cpumask_t +252 arch/mips/include/asm/processor.h

e50c0a8fa60da9 include/asm-mips/processor.h      Ralf Baechle   2005-05-31  225  
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  226  /*
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  227   * If you change thread_struct remember to change the #defines below too!
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  228   */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  229  struct thread_struct {
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  230  	/* Saved main processor registers. */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  231  	unsigned long reg16;
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  232  	unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23;
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  233  	unsigned long reg29, reg30, reg31;
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  234  
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  235  	/* Saved cp0 stuff. */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  236  	unsigned long cp0_status;
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  237  
2725f3778fddb7 arch/mips/include/asm/processor.h Paul Burton    2018-11-07  238  #ifdef CONFIG_MIPS_FP_SUPPORT
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  239  	/* Saved fpu/fpu emulator stuff. */
37cddff8e330a8 arch/mips/include/asm/processor.h Paul Burton    2014-07-11  240  	struct mips_fpu_struct fpu FPU_ALIGN;
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  241  	/* Assigned branch delay slot 'emulation' frame */
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  242  	atomic_t bd_emu_frame;
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  243  	/* PC of the branch from a branch delay slot 'emulation' */
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  244  	unsigned long bd_emu_branch_pc;
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  245  	/* PC to continue from following a branch delay slot 'emulation' */
432c6bacbd0c16 arch/mips/include/asm/processor.h Paul Burton    2016-07-08  246  	unsigned long bd_emu_cont_pc;
aebdc6ff3b2e79 arch/mips/include/asm/processor.h Yousong Zhou   2020-03-24  247  #endif
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05  248  #ifdef CONFIG_MIPS_MT_FPAFF
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05  249  	/* Emulated instruction count */
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05  250  	unsigned long emulated_fp;
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05  251  	/* Saved per-thread scheduler affinity mask */
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05 @252  	cpumask_t user_cpus_allowed;
f088fc84f94c1a include/asm-mips/processor.h      Ralf Baechle   2006-04-05  253  #endif /* CONFIG_MIPS_MT_FPAFF */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  254  
e50c0a8fa60da9 include/asm-mips/processor.h      Ralf Baechle   2005-05-31  255  	/* Saved state of the DSP ASE, if available. */
e50c0a8fa60da9 include/asm-mips/processor.h      Ralf Baechle   2005-05-31  256  	struct mips_dsp_state dsp;
e50c0a8fa60da9 include/asm-mips/processor.h      Ralf Baechle   2005-05-31  257  
6aa3524c182c01 arch/mips/include/asm/processor.h David Daney    2008-09-23  258  	/* Saved watch register state, if available. */
6aa3524c182c01 arch/mips/include/asm/processor.h David Daney    2008-09-23  259  	union mips_watch_reg_state watch;
6aa3524c182c01 arch/mips/include/asm/processor.h David Daney    2008-09-23  260  
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  261  	/* Other stuff associated with the thread. */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  262  	unsigned long cp0_badvaddr;	/* Last user fault */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  263  	unsigned long cp0_baduaddr;	/* Last kernel fault accessing USEG */
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  264  	unsigned long error_code;
e3b28831c18c6c arch/mips/include/asm/processor.h Ralf Baechle   2015-07-28  265  	unsigned long trap_nr;
b5e00af81f298f arch/mips/include/asm/processor.h David Daney    2008-12-11  266  #ifdef CONFIG_CPU_CAVIUM_OCTEON
b5e00af81f298f arch/mips/include/asm/processor.h David Daney    2008-12-11  267  	struct octeon_cop2_state cp2 __attribute__ ((__aligned__(128)));
b6007ff8096823 arch/mips/include/asm/processor.h Jiaxun Yang    2023-04-04  268  #if defined(CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE) && \
b6007ff8096823 arch/mips/include/asm/processor.h Jiaxun Yang    2023-04-04  269  	CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0
b5e00af81f298f arch/mips/include/asm/processor.h David Daney    2008-12-11  270  	struct octeon_cvmseg_state cvmseg __attribute__ ((__aligned__(128)));
b6007ff8096823 arch/mips/include/asm/processor.h Jiaxun Yang    2023-04-04  271  #endif
b5e00af81f298f arch/mips/include/asm/processor.h David Daney    2008-12-11  272  #endif
e50c0a8fa60da9 include/asm-mips/processor.h      Ralf Baechle   2005-05-31  273  	struct mips_abi *abi;
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  274  };
^1da177e4c3f41 include/asm-mips/processor.h      Linus Torvalds 2005-04-16  275  

:::::: The code at line 252 was first introduced by commit
:::::: f088fc84f94c1a36943e28ad704a9a740a35f877 [MIPS] FPU affinity for MT ASE.

:::::: TO: Ralf Baechle <ralf@linux-mips.org>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-05 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609051820.rkRdnwdG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.