projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thermal/drivers/devfreq_cooling: use HZ macros
[linux-2.6-microblaze.git]
/
scripts
/
syscallhdr.sh
diff --git
a/scripts/syscallhdr.sh
b/scripts/syscallhdr.sh
index
848ac27
..
22e34cd
100755
(executable)
--- 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')
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
echo "#ifndef $guard"
echo "#define $guard"
echo