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)
Wed, Apr 17, 11:12 AM
Unknown Object (File)
Feb 3 2024, 4:30 PM
Unknown Object (File)
Jan 30 2024, 11:43 AM
Unknown Object (File)
Jan 12 2024, 6:51 AM
Unknown Object (File)
Dec 23 2023, 4:11 AM
Unknown Object (File)
Dec 20 2023, 5:43 AM
Unknown Object (File)
Sep 30 2023, 4:15 AM
Unknown Object (File)
Sep 1 2023, 10:37 AM

Details

Summary

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.