Page MenuHomeFreeBSD

Use dmb() macro instead of having separate implementations of do_sync
ClosedPublic

Authored by stevek on Aug 10 2015, 7:44 PM.
Tags
None
Referenced Files
F157147481: D3355.diff
Mon, May 18, 6:46 PM
F157147466: D3355.diff
Mon, May 18, 6:46 PM
Unknown Object (File)
Thu, May 14, 8:00 AM
Unknown Object (File)
Mon, May 11, 6:35 PM
Unknown Object (File)
Mon, May 11, 6:35 PM
Unknown Object (File)
Mon, May 11, 6:35 PM
Unknown Object (File)
Mon, May 11, 5:41 PM
Unknown Object (File)
Sat, May 9, 5:45 PM
Subscribers

Details

Summary

Instead of having separate do_sync functions for ARM_ARCH 6 vs. ARM_ARCH >= 7, use the dmb() macro defined in machine/atomic.h

Test Plan

Build for ARMv6 (PANDABOARD) and ARMv7 (RPI-2) and boot on boards.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

stevek retitled this revision from to Use dmb() macro instead of having separate implementations of do_sync.
stevek updated this object.
stevek edited the test plan for this revision. (Show Details)
stevek set the repository for this revision to rS FreeBSD src repository - subversion.
imp added a reviewer: imp.

Excellent. One fewer silly ifdef places.

This revision is now accepted and ready to land.Aug 11 2015, 12:52 AM
This revision was automatically updated to reflect the committed changes.