X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fsyscallhdr.sh;h=22e34cd46b9ba4c150f896cbbdde2c7af32142f9;hb=73b718c617caae17f6e2964fba823e2c18a9b67c;hp=848ac27351150f010545b6d62d760bd7cc575cac;hpb=701c09c988bd60d950d49c48993b6c06efbfba7f;p=linux-2.6-microblaze.git diff --git a/scripts/syscallhdr.sh b/scripts/syscallhdr.sh index 848ac2735115..22e34cd46b9b 100755 --- a/scripts/syscallhdr.sh +++ b/scripts/syscallhdr.sh @@ -69,7 +69,7 @@ guard=_UAPI_ASM_$(basename "$outfile" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g') -grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | sort -n | { +grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | { echo "#ifndef $guard" echo "#define $guard" echo