Skip to content

GitLab

  • Menu
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
  • xenomai
  • ipipe-arm
  • Repository

Switch branch/tag
  • ipipe-arm
  • arch
  • arm
  • Makefile
Find file BlameHistoryPermalink
  • Will Deacon's avatar
    ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses · e91b36ef
    Will Deacon authored Dec 04, 2012
    
    
    Recent ARMv7 toolchains assume that unaligned memory accesses will not
    fault and will instead be handled by the processor.
    
    For the nommu case (without an MPU), memory will be treated as
    strongly-ordered and therefore unaligned accesses may fault regardless
    of the SCTLR.A setting.
    
    This patch passes -mno-unaligned-access to GCC when compiling for nommu
    targets, preventing the generation of unaligned memory access in the
    kernel.
    Acked-by: default avatarNicolas Pitre <nico@linaro.org>
    Tested-by: default avatarJonathan Austin <jonathan.austin@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    e91b36ef

Replace Makefile

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