[PATCH] score: Unify <rtems/score/cpuatomic.h>

Chris Johns chrisj at rtems.org
Thu May 25 22:43:03 UTC 2023


On 25/5/2023 3:54 pm, Sebastian Huber wrote:
> On 25.05.23 03:40, Kinsey Moore wrote:> Is there any reason this isn't just
> being moved to a shared directory if
>> they're all being made identical?
> 
> Initially, they were all identical. We already have a shared implementation
> 
> https://git.rtems.org/rtems/tree/cpukit/include/rtems/score/cpustdatomic.h
> 
> The CPU port specific <rtems/score/cpuatomic.h> allows a custom implementation
> if needed. I would keep this ability.
> 

Why not just add the file back if it is needed when it is needed and then remove
it once it is not?

Chris


More information about the devel mailing list