Skip to content

Commit

Permalink
locking/atomic: scripts: build raw_atomic_long*() directly
Browse files Browse the repository at this point in the history
Now that arch_atomic*() usage is limited to the atomic headers, we no
longer have any users of arch_atomic_long_*(), and can generate
raw_atomic_long_*() directly.

Generate the raw_atomic_long_*() ops directly.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230605070124.3741859-20-mark.rutland@arm.com
  • Loading branch information
Mark Rutland authored and Peter Zijlstra committed Jun 5, 2023
1 parent 0f613bf commit 1815da1
Show file tree
Hide file tree
Showing 5 changed files with 345 additions and 859 deletions.
2 changes: 1 addition & 1 deletion include/linux/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
})

#include <linux/atomic/atomic-arch-fallback.h>
#include <linux/atomic/atomic-long.h>
#include <linux/atomic/atomic-raw.h>
#include <linux/atomic/atomic-long.h>
#include <linux/atomic/atomic-instrumented.h>

#endif /* _LINUX_ATOMIC_H */
Loading

0 comments on commit 1815da1

Please sign in to comment.