Add support for the atomic-ops interface.

BKrev: 3fc27a12bs0NCbEFc99-DfZIKl61tA