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
  • tools
  • include
  • uapi
  • linux
  • userfaultfd.h
Find file BlameHistoryPermalink
  • John Hubbard's avatar
    selftests/mm: fix additional build errors for selftests · 580ea358
    John Hubbard authored Mar 27, 2024
    These build errors only occur if one fails to first run "make headers". 
    However, that is a non-obvious and instrusive requirement, and so there
    was a discussion on how to get rid of it [1].  This uses that solution.
    
    These two files were created by taking a snapshot of the generated header
    files that are created via "make headers".  These two files were copied
    from ./usr/include/linux/ to ./tools/include/uapi/linux/ .
    
    That fixes the selftests/mm build on today's Arch Linux (which required
    the userfaultfd.h) and Ubuntu 23.04 (which additionally required memfd.h).
    
    [1] https://lore.kernel.org/all/783a4178-1dec-4e30-989a-5174b8176b09@redhat.com/
    
    Link: https://lkml.kernel.org/r/20240328033418.203790-3-jhubbard@nvidia.com
    
    
    Signed-off-by: default avatarJohn Hubbard <jhubbard@nvidia.com>
    Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
    Cc: Suren Baghdasaryan <surenb@google.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Andrea Arcangeli <aarcange@redhat.com>
    Cc: Axel Rasmussen <axelrasmussen@google.com>
    Cc: Peter Xu <peterx@redhat.com>
    Cc: Shuah Khan <shuah@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    580ea358
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7