The patch titled Subject: scripts/atomic/gen-atomics.sh: don't assume that scripts are executable has been removed from the -mm tree. Its filename was scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: scripts/atomic/gen-atomics.sh: 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. Acked-by: Mark Rutland <mark.rutland@xxxxxxx> Cc: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Cc: Boqun Feng <boqun.feng@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Will Deacon <will.deacon@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/atomic/gen-atomics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/scripts/atomic/gen-atomics.sh~scripts-atomic-check-atomicssh-dont-assume-that-scripts-are-executable +++ a/scripts/atomic/gen-atomics.sh @@ -13,7 +13,7 @@ gen-atomic-long.sh asm-gene gen-atomic-fallback.sh linux/atomic-fallback.h EOF while read script header; do - ${ATOMICDIR}/${script} ${ATOMICTBL} > ${LINUXDIR}/include/${header} + /bin/sh ${ATOMICDIR}/${script} ${ATOMICTBL} > ${LINUXDIR}/include/${header} HASH="$(sha1sum ${LINUXDIR}/include/${header})" HASH="${HASH%% *}" printf "// %s\n" "${HASH}" >> ${LINUXDIR}/include/${header} _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch slab-fix-an-infinite-loop-in-leaks_show-fix.patch userfaultfd-sysctl-add-vmunprivileged_userfaultfd-fix.patch mm-compaction-fix-an-undefined-behaviour-fix.patch mm-enable-error-injection-at-add_to_page_cache-fix.patch mm-memory_hotplug-provide-a-more-generic-restrictions-for-memory-hotplug-fix.patch mm-add-probe_user_read-fix.patch mm-maintain-randomization-of-page-free-lists-checkpatch-fixes.patch lib-list_sort-simplify-and-remove-max_list_length_bits-fix.patch lib-test_vmallocc-test_func-eliminate-local-ret.patch fs-binfmt_elfc-remove-unneeded-initialization-of-mm-start_stack.patch cpumask-fix-double-string-traverse-in-cpumask_parse-fix.patch convert-struct-pid-count-to-refcount_t-fix.patch gcov-clang-support-checkpatch-fixes.patch ipc-do-cyclic-id-allocation-for-the-ipc-object-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch mm-rename-ambiguously-named-memorystat-counters-and-functions-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch slab-leaks3-default-y.patch