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
  • linux
  • kernel
  • notifier.c
Find file BlameHistoryPermalink
  • Dmitry Osipenko's avatar
    notifier: Add atomic_notifier_call_chain_is_empty() · 13dfd97a
    Dmitry Osipenko authored May 19, 2022
    
    
    Add atomic_notifier_call_chain_is_empty() that returns true if given
    atomic call chain is empty.
    
    The first user of this new notifier API function will be the kernel
    power-off core code that will support power-off call chains. The core
    code will need to check whether there is a power-off handler registered
    at all in order to decide whether to halt machine or power it off.
    
    Reviewed-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
    Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    13dfd97a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7