diff options
| author | Michael Forney <[email protected]> | 2019-06-18 05:33:06 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-25 08:17:07 +0000 |
| commit | ebf8d82bbb32720878a3867b28e655950ccee992 (patch) | |
| tree | c9c99ac58cb352cff16a040e46cb165b8465e589 /fs/proc/array.c | |
| parent | locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROV... (diff) | |
| download | kernel-ebf8d82bbb32720878a3867b28e655950ccee992.tar.gz kernel-ebf8d82bbb32720878a3867b28e655950ccee992.zip | |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
