]> asedeno.scripts.mit.edu Git - linux.git/commit
locking/atomics: Check generated headers are up-to-date
authorMark Rutland <mark.rutland@arm.com>
Tue, 4 Sep 2018 10:48:29 +0000 (11:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 1 Nov 2018 10:01:10 +0000 (11:01 +0100)
commit8d32588077bdc390420cfa6946f407033a20d7a8
tree8826038ca127335c11514bb308179ad2d6e83d69
parentaa525d063851a98e020b827fdd1d7776ae652301
locking/atomics: Check generated headers are up-to-date

Now that all the generated atomic headers are in place, it would be good
to ensure that:

a) the headers are up-to-date when scripting changes.

b) developers don't directly modify the generated headers.

To ensure both of these properties, let's add a Kbuild step to check
that the generated headers are up-to-date.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: catalin.marinas@arm.com
Cc: Will Deacon <will.deacon@arm.com>
Cc: linuxdrivers@attotech.com
Cc: dvyukov@google.com
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: arnd@arndb.de
Cc: aryabinin@virtuozzo.com
Cc: glider@google.com
Link: http://lkml.kernel.org/r/20180904104830.2975-6-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Kbuild
scripts/atomic/check-atomics.sh [new file with mode: 0644]