[GIT PULL] atomic regeneration (was "[PATCHv2] locking/atomics: build atomic headers as required")

From: Mark Rutland
Date: Wed Nov 28 2018 - 04:24:20 EST


Hi Ingo,

Peter suggested you'd prefer a pull request for the atomic scripting rework, so
hopefully this is sufficient. :)

The rework means that the atomics are now rebuilt as-required. The headers are
built in parallel, along with other early build steps, so this isn't as
noticeable on a reasonably powerful machine. Once the headers are built,
they'll only be regenerated when their dependencies change, and can be cleaned
with a mrproper.

Thanks,
Mark.

The following changes since commit bdf37b4dd35d2517cadc10735cd33022da7df133:

locking/atomics: Fix out-of-tree build (2018-11-09 09:06:01 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git atomics/regenerate

for you to fetch changes up to 12eea59cbedcd46fe8b526a16a7f429c8548187d:

locking/atomics: build atomic headers as required (2018-11-27 13:25:09 +0000)

----------------------------------------------------------------
Mark Rutland (1):
locking/atomics: build atomic headers as required

Kbuild | 18 +-
Makefile | 8 +-
arch/arm64/include/asm/atomic.h | 2 +-
arch/x86/include/asm/atomic.h | 2 +-
include/asm-generic/atomic-instrumented.h | 1787 ----------------------
include/asm-generic/atomic-long.h | 1012 -------------
include/linux/atomic-fallback.h | 2294 -----------------------------
include/linux/atomic.h | 4 +-
scripts/Makefile.genheader | 26 +
scripts/atomic/check-atomics.sh | 19 -
10 files changed, 38 insertions(+), 5134 deletions(-)
delete mode 100644 include/asm-generic/atomic-instrumented.h
delete mode 100644 include/asm-generic/atomic-long.h
delete mode 100644 include/linux/atomic-fallback.h
create mode 100644 scripts/Makefile.genheader
delete mode 100755 scripts/atomic/check-atomics.sh