Просмотр исходного кода

Just take whatever the kernel headers gave us, spaces and all. This is
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik

Eric Andersen 24 лет назад
Родитель
Сommit
445db497a2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      extra/scripts/gen_bits_syscall_h.sh

+ 1 - 1
extra/scripts/gen_bits_syscall_h.sh

@@ -19,7 +19,7 @@ $CC -E - |
   echo "#ifndef _SYSCALL_H" ;
   echo "# error \"Never use <bits/syscall.h> directly; include <sys/syscall.h> instead.\"" ;
   echo "#endif" ; echo ;
-  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\([^ ]*\)/#define SYS_\1 \2\
+  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(.*\)/#define SYS_\1 \2\
 #define __NR_\1 \2\
 #define __STR_NR_\1 \"\2\"/gp'
 )