linux-sg2042/scripts/atomic
Michael Forney ebf8d82bbb locking/atomics: Use sed(1) instead of non-standard head(1) option
POSIX says the -n option must be a positive decimal integer. Not all
implementations of head(1) support negative numbers meaning offset from
the end of the file.

Instead, the sed expression '$d' has the same effect of removing the
last line of the file.

Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190618053306.730-1-mforney@mforney.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-06-25 10:17:07 +02:00
..
fallbacks locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
atomic-tbl.sh locking/atomics: Change 'fold' to 'grep' 2019-02-11 14:27:33 +01:00
atomics.tbl locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
check-atomics.sh locking/atomics: Use sed(1) instead of non-standard head(1) option 2019-06-25 10:17:07 +02:00
gen-atomic-fallback.sh locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
gen-atomic-instrumented.sh locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
gen-atomic-long.sh locking/atomics: Fix scripts/atomic/ script permissions 2018-11-01 12:45:46 +01:00
gen-atomics.sh locking/atomics: Don't assume that scripts are executable 2019-04-19 14:21:43 +02:00