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
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Jonathan Cameron's avatar
    kernel-doc: add support for ____cacheline_aligned attribute · a070991f
    Jonathan Cameron authored Sep 10, 2020
    
    
    Subroutine dump_struct uses type attributes to check if the struct
    syntax is valid. Then, it removes all attributes before using it for
    output. `____cacheline_aligned` is an attribute that is
    not included in both steps. Add it, since it is used by kernel structs.
    
    Based on previous patch to add ____cacheline_aligned_in_smp.
    Motivated by patches to reorder this attribute to before the
    variable name.   Whilst we could do that in all cases, that would
    be a massive change and it is more common in the kernel to place
    this particular attribute after the variable name. A quick grep
    suggests approximately 400 instances of which 341 have this
    attribute just before a semicolon and hence after the variable name.
    
    Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
    Cc: Lee Jones <lee.jones@linaro.org>
    Link: https://lore.kernel.org/r/20200910185415.653139-1-jic23@kernel.org
    
    
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    a070991f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7