locking/atomics: Don't assume that scripts are executable
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 13 Feb 2019 19:59:48 +0000 (11:59 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 19 Apr 2019 12:21:43 +0000 (14:21 +0200)
commitb50776ae011cfd26df3cc2b4af8b2dc3b683e553
treeab200da300fbc0da23355284536de0f88fb561fe
parent8b39adbee805c539a461dbf208b125b096152b1c
locking/atomics: Don't assume that scripts are executable

patch(1) doesn't set the x bit on files.  So if someone downloads and
applies patch-4.21.xz, their kernel won't build.  Fix that by executing
/bin/sh.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
scripts/atomic/gen-atomics.sh