Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-arm
  • 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
  • xenomaixenomai
  • ipipe-arm
  • Repository
Switch branch/tag
  • ipipe-arm
  • include
  • asm-generic
  • uaccess.h
Find file BlameHistoryPermalink
  • Vineet Gupta's avatar
    asm-generic: uaccess: Allow arches to over-ride __{get,put}_user_fn() · 05d88a49
    Vineet Gupta authored Jan 18, 2013
    
    
    As of now these default to calling the arch provided __copy_{to,from}_user()
    routines which being general purpose (w.r.t buffer alignment and lengths)
    would lead to alignment checks in generated code (for arches which don't
    support unaligned load/stores).
    
    Given that in this case we already know that data involved is "unit"
    sized and aligned, using the vanilla copy backend is a bit wasteful.
    
    This change thus allows arches to over-ride the aforementioned routines.
    
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
    05d88a49

Imprint & Privacy Policy