Commit 2188db63 authored by Andrew Morton's avatar Andrew Morton Committed by Stephen Rothwell

scripts/atomic/ 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

Cc: Mark Rutland <>
Cc: Peter Zijlstra (Intel) <>
Cc: Boqun Feng <>
Cc: Ingo Molnar <>
Cc: Will Deacon <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarStephen Rothwell <>
parent 02bf9bc1
......@@ -13,7 +13,7 @@ asm-generic/atomic-long.h linux/atomic-fallback.h
while read script header; do
if ! (${ATOMICDIR}/${script} ${ATOMICTBL} | diff - ${LINUXDIR}/include/${header} > /dev/null); then
if ! (/bin/sh ${ATOMICDIR}/${script} ${ATOMICTBL} | diff - ${LINUXDIR}/include/${header} > /dev/null); then
printf "warning: include/${header} is out-of-date.\n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment