Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • include
  • asm-x86
  • system.h
Find file BlameHistoryPermalink
  • H. Peter Anvin's avatar
    x86: reintroduce volatile keyword in prototype to clflush() · 84fb144b
    H. Peter Anvin authored Feb 04, 2008
    The volatile keyword was removed from the clflush() prototype
    in commit e34907ae
    
    ; the comment there
    states:
    
        x86: remove volatile keyword from clflush.
    
        the p parameter is an explicit memory reference, and is
        enough to prevent gcc to being nasty here. The volatile
        seems completely not needed.
    
    This reflects incorrect understanding of the function of the volatile
    keyword there.  The purpose of the volatile keyword is informing gcc
    that it is safe to pass a volatile pointer to this function.
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    84fb144b

Replace system.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy