Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • D drm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • drm
  • Merge requests
  • !32

xf86atomic: require CAS support in libatomic_ops

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Peter Seiderer requested to merge psreport/drm:ps-devel-xf86atomic-require-CAS-support-in-libatomic-ops into master Nov 28, 2019
  • Overview 2
  • Commits 1
  • Pipelines 5
  • Changes 1

Since AO_compare_and_swap_full() is used by libdrm, AO_REQUIRE_CAS must be defined before including <atomic_ops.h> so that we are sure that CAS support will be provided. This is necessary to make sure that the AO_compare_and_swap_full() function will be provided on all architectures, including the ones that don't have built-in CAS support such as SPARCv8.

Signed-off-by: Thomas Petazzoni thomas.petazzoni@free-electrons.com Signed-off-by: Peter Seiderer ps.report@gmx.net

Edited Nov 29, 2019 by Peter Seiderer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ps-devel-xf86atomic-require-CAS-support-in-libatomic-ops