Page MenuHomeFreeBSD

linuxkpi: atomic: Add atomic_fetch_inc
ClosedPublic

Authored by manu on Jul 26 2022, 9:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 11, 12:45 PM
Unknown Object (File)
Fri, Jan 24, 5:49 PM
Unknown Object (File)
Sat, Jan 18, 9:26 PM
Unknown Object (File)
Fri, Jan 17, 2:47 PM
Unknown Object (File)
Jan 6 2025, 1:06 PM
Unknown Object (File)
Dec 4 2024, 9:16 AM
Unknown Object (File)
Nov 16 2024, 11:42 PM
Unknown Object (File)
Nov 6 2024, 11:43 PM

Details

Summary

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46583
Build 43472: arc lint + arc unit

Event Timeline

manu requested review of this revision.Jul 26 2022, 9:30 AM
This revision is now accepted and ready to land.Jul 26 2022, 9:36 AM
sys/compat/linuxkpi/common/include/asm/atomic.h
58

It might be an idea to add a (int) cast for the return value or create an inline function for this, to avoid problems with clang making assumptions about the return values.

Convert to an inline function

This revision now requires review to proceed.Jul 26 2022, 3:19 PM

Extra ()'s, but else looks perfect.

This revision is now accepted and ready to land.Jul 26 2022, 3:58 PM
This revision was automatically updated to reflect the committed changes.