Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • workqueue.c
Find file BlameHistoryPermalink
  • Waiman Long's avatar
    workqueue: Move workqueue_set_unbound_cpumask() and its helpers inside CONFIG_SYSFS · 49277a5b
    Waiman Long authored Nov 20, 2023
    Commit fe28f631 ("workqueue: Add workqueue_unbound_exclude_cpumask()
    to exclude CPUs from wq_unbound_cpumask") makes
    workqueue_set_unbound_cpumask() static as it is not used elsewhere in
    the kernel. However, this triggers a kernel test robot warning about
    'workqueue_set_unbound_cpumask' defined but not used when CONFIG_SYS
    isn't defined. It happens that workqueue_set_unbound_cpumask() is only
    called when CONFIG_SYS is defined.
    
    Move workqueue_set_unbound_cpumask() and its helpers inside the
    CONFIG_SYSFS compilation block to avoid the warning. There is no
    functional change.
    
    Fixes: fe28f631
    
     ("workqueue: Add workqueue_unbound_exclude_cpumask() to exclude CPUs from wq_unbound_cpumask")
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202311130831.uh0AoCd1-lkp@intel.com/
    
    
    Signed-off-by: default avatarWaiman Long <longman@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    49277a5b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7